Commit fa878076 by 春觉晓

修改创建策略接口

1 parent b0512aaf
...@@ -65,8 +65,8 @@ public class StrategyInfoController { ...@@ -65,8 +65,8 @@ public class StrategyInfoController {
try { try {
BatchInsertStrategyInfo batchInsertStrategyInfo = CommonUtil.convertRequest(BatchInsertStrategyInfo.class); BatchInsertStrategyInfo batchInsertStrategyInfo = CommonUtil.convertRequest(BatchInsertStrategyInfo.class);
LoginUserDTO loginUser = CommonUtil.getLoginUser(); LoginUserDTO loginUser = CommonUtil.getLoginUser();
String accountName = loginUser.getLoginAccout(); //String accountName = loginUser.getLoginAccout();
batchInsertStrategyInfo.setCreatedBy(accountName); batchInsertStrategyInfo.setCreatedBy(loginUser.getUserName());
batchInsertStrategyInfo.setCreatedUUid(loginUser.getUuid()); batchInsertStrategyInfo.setCreatedUUid(loginUser.getUuid());
RpcResponse<Boolean> response = strategyInfoRemote.batchCreate(batchInsertStrategyInfo); RpcResponse<Boolean> response = strategyInfoRemote.batchCreate(batchInsertStrategyInfo);
if (response.hasError()) { if (response.hasError()) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!