|
|
@@ -4032,6 +4032,9 @@ func (this *OilSupplierController) GetLackCertList() {
|
|
|
whereCert := " Status = '8' or Status = '11' "
|
|
|
certService.GetEntitysByWhere(OilSupplierCertName, whereCert, &allCertList)
|
|
|
if len(allCertList) > 0 {
|
|
|
+ // 重置标识
|
|
|
+ sql := "update " + OilSupplierCertName + " set IsLack= 1 "
|
|
|
+ _, _ = certService.DBE.Exec(sql)
|
|
|
log.Println("共查询到准入条数:", len(allCertList))
|
|
|
for _, certEntity := range allCertList {
|
|
|
supService.GetEntityById(certEntity.SupplierId, &supEntity)
|