Przeglądaj źródła

后:准入申请入库后改准入范围状态

MAC 5 lat temu
rodzic
commit
cf39d7a46a

+ 1 - 1
src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercert.go

@@ -1059,7 +1059,7 @@ func (this *OilSupplierCertController) UpdateIsStorage() {
 					"CertSubStatus",
 				}
 				model1.CertSubStatus = "1"
-				where := " SupplierId = " + SupplierId
+				where := " SupplierCertId = " + id
 				svc1.UpdateEntityBywheretbl(OilSupplierCertSubName, &model1, cols, where)
 				errinfo.Message = "入库成功"
 			} else {