1,增加检查配置

master
e 2018-09-26 15:28:31 +08:00
parent df9ab14783
commit ac6081ba75
3 changed files with 19 additions and 12 deletions

View File

@ -1841,17 +1841,20 @@ public class WmOmNoticeHController extends BaseController {
String flag = "Y"; String flag = "Y";
String message=""; String message="";
for(WmNoticeImpPage wmt:list){ if("yes".equals(ResourceUtil.getConfigByName("nocheck"))){
MvGoodsEntity mvgoods = systemService.findUniqueByProperty( for(WmNoticeImpPage wmt:list){
MvGoodsEntity.class, "goodsCode", wmt.getGoodsId()); MvGoodsEntity mvgoods = systemService.findUniqueByProperty(
if(mvgoods==null){ MvGoodsEntity.class, "goodsCode", wmt.getGoodsId());
flag = "N"; if(mvgoods==null){
message=message+wmt.getGoodsName(); flag = "N";
message=message+wmt.getGoodsName();
}
} }
} if("N".equals(flag)){
if("N".equals(flag)){ j.setMsg(message+"不存在");
j.setMsg(message+"不存在"); return j;
return j; }
} }
for(int i=0;i<listheader.size()-1;i++){ for(int i=0;i<listheader.size()-1;i++){

View File

@ -123,7 +123,8 @@ printtype=page
binStoress=01A binStoress=01A
moveStats=\u8BA1\u5212\u4E2D moveStats=\u8BA1\u5212\u4E2D
#nocheck \u4E0D\u68C0\u67E5
nocheck=yes
@ -133,6 +134,8 @@ sms.tip.control=1
systuopan=yes systuopan=yes
\u5BF9\u8D26\u5355\u663E\u793A\u660E\u7EC6 \u5BF9\u8D26\u5355\u663E\u793A\u660E\u7EC6
sysdzd=yes sysdzd=yes
\u4ED3\u5E93\u4FE1\u606F \u4ED3\u5E93\u4FE1\u606F
comname=\u6CC9\u5DDE\u65B0\u96C5\u4ED5\u51B7\u94FE\u7269\u6D41\u4E2D\u5FC3 comname=\u6CC9\u5DDE\u65B0\u96C5\u4ED5\u51B7\u94FE\u7269\u6D41\u4E2D\u5FC3
comaddr=\u6CC9\u5DDE\u5E02\u6E05\u6FDB\u5F00\u53D1\u533A\u5B89\u6CF0\u8DEF1\u53F7 comaddr=\u6CC9\u5DDE\u5E02\u6E05\u6FDB\u5F00\u53D1\u533A\u5B89\u6CF0\u8DEF1\u53F7

View File

@ -124,7 +124,8 @@ printtype=page
binStoress=01A binStoress=01A
moveStats=\u8BA1\u5212\u4E2D moveStats=\u8BA1\u5212\u4E2D
#nocheck \u4E0D\u68C0\u67E5
nocheck=no
##isSend =0:\u4E0D\u53D1\u9001\uFF0CisSend=1:\u53D1\u9001(\u9ED8\u8BA4) ##isSend =0:\u4E0D\u53D1\u9001\uFF0CisSend=1:\u53D1\u9001(\u9ED8\u8BA4)