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