|
|
@@ -644,6 +644,7 @@ func (this *TmpzcgfController) DelBadRecord() {
|
|
|
// @Success 200 {object}
|
|
|
// @router /capacityexpansion [get]
|
|
|
func (this *TmpzcgfController) CapacityExpansion() {
|
|
|
+ fmt.Println("==========编码扩充开始=========")
|
|
|
t := time.Now()
|
|
|
|
|
|
svc := supplier.GetOilSupplierService(utils.DBE)
|
|
|
@@ -676,18 +677,19 @@ func (this *TmpzcgfController) CapacityExpansion() {
|
|
|
entitys[idx].Remark = "编码扩充"
|
|
|
}
|
|
|
svc.InsertEntityBytbl(OilSupplierCertSubName, &entitys)
|
|
|
+ fmt.Println("编码扩充:")
|
|
|
+ fmt.Println(entitys)
|
|
|
|
|
|
wheredel := "Id = " + strconv.Itoa(supplierCertSub.Id)
|
|
|
svc.DeleteEntityBytbl(OilSupplierCertSubName, wheredel)
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-
|
|
|
elapsed := time.Since(t)
|
|
|
fmt.Println(elapsed)
|
|
|
+ fmt.Println("==========编码扩充完成=========")
|
|
|
|
|
|
}
|
|
|
|