public void deleteJdpxx(Jdpxx jdpxx) { if (jdpxx.getId() == null) throw new RuntimeException("需要删除的寄递品ID不能为空"); jdpxxDao.delete(jdpxx); }
public void updateJdpxx(Jdpxx jdpxx) { if (jdpxx.getId() == null) throw new RuntimeException("需要修改的寄递品ID不能为空"); jdpxxDao.update(jdpxx); }