|
|
@@ -482,6 +482,8 @@ func (this *OilSupplierCertController) UpdateEntity() {
|
|
|
func (this *OilSupplierCertController) UpdateStorage() {
|
|
|
id := this.Ctx.Input.Param(":id")
|
|
|
status := this.GetString("Status")
|
|
|
+ PACNumber := this.GetString("PACNumber")
|
|
|
+ SupplierId := this.GetString("SupplierId")
|
|
|
var errinfo ErrorInfo
|
|
|
if id == "" {
|
|
|
errinfo.Message = "操作失败!请求信息不完整"
|
|
|
@@ -545,6 +547,12 @@ func (this *OilSupplierCertController) UpdateStorage() {
|
|
|
model2.CertSubStatus = "1"
|
|
|
whereid := " SupplierCertId = " + id
|
|
|
svc.UpdateEntityBywheretbl(OilSupplierCertSubName, &model2, []string{"CertSubStatus"}, whereid)
|
|
|
+
|
|
|
+ var model3 supplier.OilSupplier
|
|
|
+ model3.PACNumber = PACNumber
|
|
|
+ cols3 := []string{"PACNumber"}
|
|
|
+ svc.UpdateEntityByIdCols(SupplierId, &model3, cols3)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if err == nil {
|