|
|
@@ -410,6 +410,8 @@ func (this *OilSupplierController) GetJoinCertEntityList() {
|
|
|
RegCapital2 := this.GetString("RegCapital2")
|
|
|
BusinessScope := this.GetString("BusinessScope")
|
|
|
|
|
|
+ where = where + " and b.InFlag != '4'"
|
|
|
+
|
|
|
if SupplierName != "" {
|
|
|
where = where + " and a.SupplierName like '%" + SupplierName + "%'"
|
|
|
}
|
|
|
@@ -1440,7 +1442,7 @@ func (this *OilSupplierController) GetEntityAndCert() {
|
|
|
//svc.GetEntityByIdBytbl(OilSupplierName, Id, &model)
|
|
|
|
|
|
var sql string
|
|
|
- sql = `select a.*, b.Id as CertId, b.AccessCardNo, b.SupplierTypeCode, b.SupplierTypeName, b.Step, b.WorkerTotal, b.ContractNum, b.UniversityNum, b.TechnicalNum, b.AboveProfNum,
|
|
|
+ sql = `select a.*, b.Id as CertId, b.AccessCardNo, b.SupplierTypeCode, b.SupplierTypeName, b.Step, b.WorkerTotal, b.ContractNum, b.UniversityNum, b.TechnicalNum, b.AboveProfNum, b.InFlag,
|
|
|
b.MiddleProfNum, b.NationalRegNum, b.NationalCertTotal, b.DesignerTotal, b.SkillerTotal, b.InStyle, b.WorkflowId, b.Status, b.ThirdAudit, b.BusinessKey, b.AuditIndex ,b.ProcessKey from ` + OilSupplierName + ` a `
|
|
|
sql += ` left join ` + OilSupplierCertName + " b on b.SupplierId = a.Id"
|
|
|
sql += ` where b.Id ='` + Id + `'`
|