移动状态设置为可配置

master
erzhongxmu 2020-10-06 17:19:17 +08:00
parent 035feffa63
commit a2f0a84a91
1 changed files with 49 additions and 33 deletions

View File

@ -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);