|
|
@@ -610,7 +610,7 @@ func (this *QualChangeController) AddQualChange() {
|
|
|
svc := qualchange.GetQualChangeService(utils.DBE)
|
|
|
|
|
|
var supplierfile supplierfile.OilSupplierFile
|
|
|
- where := "SupplierId = '" + strconv.Itoa(model.SupplierId) + "' and NeedFileType='" + model.NeedFileType + "'"
|
|
|
+ where := "SupplierId = '" + strconv.Itoa(model.SupplierId) + "' and NeedFileType='" + model.NeedFileType + "' and SupplierTypeCode in ( '000', '" + model.SupplierTypeCode + "')"
|
|
|
has := svc.GetEntity(&supplierfile, where)
|
|
|
|
|
|
var tableHeader tableheader.BaseTableheader
|