Commit 1789ec3c by jinxin

企业列表查询字段处理

parent 7d04f8f1
......@@ -481,14 +481,14 @@ public class EnterpriseController extends WebBaseController {
wxEnterpriseDTO.setStoreTotal(departmentApiService.totalStoreCountByEnterpriseId(wxEnterpriseId));
return resultResponse(HaoBanErrCode.ERR_1, wxEnterpriseDTO);
}
//gic企业列表
@RequestMapping("enterprise-search")
public HaobanResponse gicEnterpriseDetail(String enterpriseId) {
if (StringUtils.isEmpty(enterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_1);
}
EnterpriseSearchVO vo = new EnterpriseSearchVO();
EnterpriseSearchVO vo = null;
EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId);
if (enterprise != null) {
vo.setEnterpriseId(enterpriseId);
......
......@@ -220,7 +220,7 @@ public class WxEnterpriseController extends WebBaseController {
if (org.apache.commons.lang.StringUtils.isEmpty(enterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_1);
}
EnterpriseSearchVO vo = new EnterpriseSearchVO();
EnterpriseSearchVO vo = null;
EnterpriseDTO enterprise = enterpriseService.getEnterpriseById(enterpriseId);
if (enterprise != null) {
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