新增重复修改

3.2.4.44
宇宙皮皮娃 2 years ago
parent 466a07a0be
commit 9dcaf84201

@ -38,7 +38,7 @@ public class TBasicServiceImpl implements ITBasicService {
//判断jzh是否重复 //判断jzh是否重复
Integer num = tBasicMapper.selectOne(tBasicDto.getJzh()); Integer num = tBasicMapper.selectOne(tBasicDto.getJzh());
if (num>0) { if (num>0) {
throw new Exception("记帐号已存在"); updateTBasic(tBasicDto);
} }
Long patientId = idService.getDateSeq(); Long patientId = idService.getDateSeq();

Loading…
Cancel
Save