增加二次校验重复
parent
7085938f28
commit
394e7ef1f6
|
@ -747,8 +747,8 @@ public class WmToDownGoodsController extends BaseController {
|
|||
wmToDownGoods.setOmBeizhu(wmOmQmIEntity.getOmBeizhu());
|
||||
|
||||
try{
|
||||
WmToDownGoodsEntity wmToDownGoods1 = systemService.findUniqueByProperty(WmToDownGoodsEntity.class,"orderIdI",wmToDownGoods.getOrderIdI());
|
||||
if (wmToDownGoods1!=null){
|
||||
List<WmToDownGoodsEntity> wmToDownGoods1 = systemService.findByProperty(WmToDownGoodsEntity.class,"orderIdI",wmToDownGoods.getOrderIdI());
|
||||
if (wmToDownGoods1!=null&&wmToDownGoods1.size()>0){
|
||||
D0.setOK(false);
|
||||
D0.setErrorMsg("重复保存");
|
||||
|
||||
|
|
Loading…
Reference in New Issue