|
|
@@ -281,7 +281,7 @@ func (this *QualChangeController) AuditFileList() {
|
|
|
if SupplierTypeCode != "" {
|
|
|
where = where + " and a.SupplierTypeCode in ( '000', '" + SupplierTypeCode + "')"
|
|
|
}
|
|
|
- //where = where + " and (b.FileUrl != '' OR a.IsDelete = 1)"
|
|
|
+ where = where + " and a.IsDelete = 0"
|
|
|
var total int64
|
|
|
AuditStatus := this.GetString("Status")
|
|
|
if AuditStatus == "8" {
|
|
|
@@ -531,7 +531,7 @@ func (this *QualChangeController) EditQualChange() {
|
|
|
supplierfile.ModifiedUserId, _ = strconv.Atoi(this.User.Id)
|
|
|
supplierfile.ModifiedBy = this.User.Realname
|
|
|
supplierfile.OtherRemark = model.Remark
|
|
|
- svc.UpdateEntityBywheretbl(OilSupplierFileName, &supplierfile, []string{"EffectDate", "FileUrl", "FileName", "ModifiedOn", "ModifiedUserId", "ModifiedBy", "OtherRemark"}, "Id = " + strconv.Itoa(model.Id))
|
|
|
+ svc.UpdateEntityBywheretbl(OilSupplierFileName, &supplierfile, []string{"EffectDate", "FileUrl", "FileName", "ModifiedOn", "ModifiedUserId", "ModifiedBy", "OtherRemark"}, "Id = "+strconv.Itoa(model.Id))
|
|
|
|
|
|
var err error
|
|
|
var entity qualchange.OilQualChangeDetail
|