소스 검색

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

MAC 5 년 전
부모
커밋
cf39d7a46a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercert.go

+ 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 {