|
|
@@ -661,6 +661,7 @@ func (this *TmpzcgfController) CapacityExpansion() {
|
|
|
var goodsAptitudeClassList []goodsaptitudeclass.OilGoodsAptitudeClass
|
|
|
whereclass := "Code like '" + supplierCertSub.Code + "%' and LENGTH(CODE) = 8"
|
|
|
svc.GetEntities(&goodsAptitudeClassList, whereclass)
|
|
|
+
|
|
|
// 扩充的编码
|
|
|
var entitys = make([]suppliercertsub.OilSupplierCertSub, len(goodsAptitudeClassList))
|
|
|
for idx, goodsAptitudeClass := range goodsAptitudeClassList {
|
|
|
@@ -675,6 +676,10 @@ func (this *TmpzcgfController) CapacityExpansion() {
|
|
|
entitys[idx].Remark = "编码扩充"
|
|
|
}
|
|
|
svc.InsertEntityBytbl(OilSupplierCertSubName, &entitys)
|
|
|
+
|
|
|
+ wheredel := "Id = " + strconv.Itoa(supplierCertSub.Id)
|
|
|
+ svc.DeleteEntityBytbl(OilSupplierCertSubName, wheredel)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|