diff --git a/user-service/src/main/java/com/hp/user/service/controller/AuditController.java b/user-service/src/main/java/com/hp/user/service/controller/AuditController.java
index 6d32fdd..482710f 100644
--- a/user-service/src/main/java/com/hp/user/service/controller/AuditController.java
+++ b/user-service/src/main/java/com/hp/user/service/controller/AuditController.java
@@ -20,7 +20,7 @@ public class AuditController {
@Autowired
private CustomerCompanyService companyService;
- @ApiOperation(value = "是否通过企业审核",notes = "若操作成功会返回新的审核记录Id")
+ @ApiOperation(value = "是否通过企业审核")
@PostMapping("/passCompanyAudit")
@Transactional
public Result passCompanyAudit(@RequestBody AuditVO audit){
@@ -48,4 +48,10 @@ public class AuditController {
result.setCode("0");
return result;
}
+
+ @ApiOperation(value = "更新审核信息")
+ @PostMapping("/updateAudit")
+ public Result updateAudit(@RequestBody AuditVO audit){
+ return auditService.update(audit);
+ }
}
diff --git a/user-service/src/main/resources/mapper/CustomerCompanyMapper.xml b/user-service/src/main/resources/mapper/CustomerCompanyMapper.xml
index 26ffab3..3f00c54 100644
--- a/user-service/src/main/resources/mapper/CustomerCompanyMapper.xml
+++ b/user-service/src/main/resources/mapper/CustomerCompanyMapper.xml
@@ -33,8 +33,8 @@
select a.customer_id,a.name,a.type,a.industry_code,a.longitude,a.latitude,a.enterprise_tax_number,a.business_license,a.business_contact,a.phone_number,a.address,a.province_code,a.city_code,a.count_code,b.*,c.service_provider_id
from tb_customer_audit as b,tb_customer_company as a left join r_customer_service_provider_enterprise as c on a.customer_id = c.enterprise_id
where a.customer_id = b.user_id and a.sys_deleted = 0 and a.type = 1 and b.vip_level = 2
- and a.business_contact like concat('%', #{businessContact}, '%')
- and a.phone_number like concat('%', #{phoneNumber}, '%')
+ and a.business_contact like concat('%', #{businessContact}, '%')
+ and a.phone_number like concat('%', #{phoneNumber}, '%')
and b.follow = #{follow}
and b.resource = #{resource}
and b.push = #{push}