Commit 4da579d5 by jinxin

企业列表查询字段处理

parent 1789ec3c
...@@ -488,7 +488,7 @@ public class EnterpriseController extends WebBaseController { ...@@ -488,7 +488,7 @@ public class EnterpriseController extends WebBaseController {
if (StringUtils.isEmpty(enterpriseId)) { if (StringUtils.isEmpty(enterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_1); return resultResponse(HaoBanErrCode.ERR_1);
} }
EnterpriseSearchVO vo = null; EnterpriseSearchVO vo = new EnterpriseSearchVO();
EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId); EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId);
if (enterprise != null) { if (enterprise != null) {
vo.setEnterpriseId(enterpriseId); vo.setEnterpriseId(enterpriseId);
......
...@@ -220,7 +220,7 @@ public class WxEnterpriseController extends WebBaseController { ...@@ -220,7 +220,7 @@ public class WxEnterpriseController extends WebBaseController {
if (org.apache.commons.lang.StringUtils.isEmpty(enterpriseId)) { if (org.apache.commons.lang.StringUtils.isEmpty(enterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_1); return resultResponse(HaoBanErrCode.ERR_1);
} }
EnterpriseSearchVO vo = null; EnterpriseSearchVO vo = new EnterpriseSearchVO();
EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId); EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId);
if (enterprise != null) { if (enterprise != null) {
vo.setEnterpriseId(enterpriseId); vo.setEnterpriseId(enterpriseId);
......
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