|
|
@@ -3057,7 +3057,7 @@ func (this *OilGoodsAptitudeController) OilCompare() {
|
|
|
}
|
|
|
if len(List) > 0 {
|
|
|
var certsublist2 []suppliercertsub.OilSupplierCertSub
|
|
|
- namewhere := "SupplierId = '" + strconv.Itoa(List[0].Id) + "' and Code ='" + Compare.SortCoding + "' and SupplierTypeCode ='01'"
|
|
|
+ namewhere := "SupplierId = '" + strconv.Itoa(List[0].Id) + "' and Code ='" + Compare.SortCoding + "' and SupplierTypeCode ='01' and CertSubStatus != -1 and Type in (1, 3) "
|
|
|
svc.GetEntitysByWhere(OilSupplierCertSubName, namewhere, &certsublist2)
|
|
|
if len(certsublist2) < 1 {
|
|
|
Compare.Diff = "1"
|