移动状态设置为可配置
parent
035feffa63
commit
a2f0a84a91
|
@ -161,7 +161,16 @@ public class WmToMoveGoodsController extends BaseController {
|
|||
WmToMoveGoodsEntity wmToMoveGoods = systemService.getEntity(WmToMoveGoodsEntity.class,
|
||||
id
|
||||
);
|
||||
wmToMoveGoods.setMoveSta("已完成");
|
||||
message = "批量保存成功";
|
||||
String movesta = "已完成";
|
||||
try{
|
||||
movesta = ResourceUtil.getConfigByName("wm.movesta");
|
||||
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
|
||||
wmToMoveGoods.setMoveSta(movesta);
|
||||
wmToMoveGoodsService.updateEntitie(wmToMoveGoods);
|
||||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||
}
|
||||
|
@ -296,7 +305,14 @@ public class WmToMoveGoodsController extends BaseController {
|
|||
if(!wmUtil.checkstcok( jeecgDemo.getBinFrom(),jeecgDemo.getTinFrom(),jeecgDemo.getGoodsId(),jeecgDemo.getGoodsProData(),jeecgDemo.getBaseGoodscount())) {
|
||||
}else{
|
||||
message = "批量保存成功";
|
||||
t.setMoveSta("已完成");
|
||||
String movesta = "已完成";
|
||||
try{
|
||||
movesta = ResourceUtil.getConfigByName("wm.movesta");
|
||||
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
t.setMoveSta(movesta);
|
||||
MyBeanUtils.copyBeanNotNull2Bean(jeecgDemo, t);
|
||||
systemService.saveOrUpdate(t);
|
||||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||
|
|
Loading…
Reference in New Issue