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