配送企业证书状态

master
anthonywj 2 years ago
parent 33857a988c
commit d65d6acf82

@ -74,8 +74,6 @@ public class SupCompanyController {
AuthRoleAdminService authRoleAdminService;
@AuthRuleAnnotation("")
@GetMapping("/api/pur/getSupComapnys")
public BaseResponse getSupComapnys(FilterSupCompanyRequest companyRequest) {

@ -10,7 +10,7 @@ import java.util.Date;
/**
* <p>
*
*
* </p>
*
* @author
@ -310,9 +310,10 @@ public class SupCompanyEntity {
private String failCout;
@TableField(exist = false)
private String passCout;
@TableField(exist = false)
private String productFailCout;
@TableField(exist = false)
private String prouctPassCout;
}

@ -1,6 +1,6 @@
spring:
profiles:
active: dev
active: pro
jmx:
enabled: false

@ -19,6 +19,8 @@
<if test="manufacturerStatus!=null">
,(SELECT count(*) FROM sup_manufacturer WHERE sup_company.customerId=sup_manufacturer.customerId AND sup_manufacturer.auditStatus!=1 AND sup_manufacturer.auditStatus!=0 AND sup_manufacturer.auditStatus!=4 ) as failCout,
(SELECT count(*) FROM sup_manufacturer WHERE sup_company.customerId=sup_manufacturer.customerId AND (sup_manufacturer.auditStatus=1 OR sup_manufacturer.auditStatus=4) ) as passCout
,(SELECT count(*) FROM sup_product WHERE sup_company.customerId=sup_product.customerId AND sup_product.auditStatus!=0 AND sup_product.auditStatus!=1 AND sup_product.auditStatus!=4 ) as productFailCout,
(SELECT count(*) FROM sup_product WHERE sup_company.customerId=sup_product.customerId AND (sup_product.auditStatus=1 OR sup_product.auditStatus=4) ) as prouctPassCout
</if>
FROM sup_company
<where>
@ -186,4 +188,4 @@
</insert>
</mapper>
</mapper>

Loading…
Cancel
Save