上下架读取商品名称
parent
847e91689a
commit
8f03e64f45
|
@ -462,6 +462,14 @@ public class WmToUpGoodsController extends BaseController {
|
|||
wmInQmIEntity.setBinSta("Y");
|
||||
systemService.updateEntitie(wmInQmIEntity);
|
||||
}
|
||||
if(StringUtil.isNotEmpty(wmToUpGoods.getWmToUpId())){
|
||||
List<WmToUpGoodsEntity> wmToUpGoodsEntity = systemService.findByProperty(WmToUpGoodsEntity.class,"wmToUpId",wmToUpGoods.getWmToUpId());
|
||||
if(wmToUpGoodsEntity!=null&&wmToUpGoodsEntity.size()>0){
|
||||
D0.setOK(false);
|
||||
return new ResponseEntity(D0, HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
|
||||
wmToUpGoods.setGoodsName(wmInQmIEntity.getGoodsName());
|
||||
wmToUpGoods.setCreateDate(DateUtils.getDate());
|
||||
wmToUpGoodsService.save(wmToUpGoods);
|
||||
|
|
Loading…
Reference in New Issue