Commit 86eff1a3 by jx-art

魔法值替换枚举

parent 8bd72f9d
...@@ -230,11 +230,11 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ ...@@ -230,11 +230,11 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
//商品BU //商品BU
String functionary = itemcenterApiRpcService.getDetail(itemIds); String functionary = itemcenterApiRpcService.getDetail(itemIds);
logger.error("请求商品BU结果"+functionary); logger.error("请求商品BU结果"+functionary);
getGoodsPrincipalNameEmail(1,map,functionary); getGoodsPrincipalNameEmail(ChangePrincipalEnum.GOODS_BU.getType(),map,functionary);
//计划 //计划
String project = pfuApiRpcService.getDetail(itemIds); String project = pfuApiRpcService.getDetail(itemIds);
logger.error("请求商品计划结果"+project); logger.error("请求商品计划结果"+project);
getGoodsPrincipalNameEmail(2,map,project); getGoodsPrincipalNameEmail(ChangePrincipalEnum.PURCHASE.getType(),map,project);
//商品采购 //商品采购
String GoodsPurchase = supplierSendService.queryGoodsPurchase(itemIds); String GoodsPurchase = supplierSendService.queryGoodsPurchase(itemIds);
JSONObject jsonObject = JSONObject.parseObject(GoodsPurchase); JSONObject jsonObject = JSONObject.parseObject(GoodsPurchase);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment