|
|
@@ -1071,8 +1071,8 @@ func (this *OilSupplierCertAppendController) AppendConcentrateAuditEntity() {
|
|
|
func (this *OilSupplierCertAppendController) UpdateIsStorage() {
|
|
|
id := this.Ctx.Input.Param(":id")
|
|
|
status := this.GetString("Status")
|
|
|
- PACNumber := this.GetString("PACNumber")
|
|
|
- SupplierId := this.GetString("SupplierId")
|
|
|
+ //PACNumber := this.GetString("PACNumber")
|
|
|
+ //SupplierId := this.GetString("SupplierId")
|
|
|
var errinfo ErrorInfo
|
|
|
if id == "" {
|
|
|
errinfo.Message = "操作失败!请求信息不完整"
|
|
|
@@ -1105,12 +1105,12 @@ func (this *OilSupplierCertAppendController) UpdateIsStorage() {
|
|
|
certAppendSrv := suppliercertappend.GetOilSupplierCertAppendService(utils.DBE)
|
|
|
certAppendSrv.GetEntityById(id, &supplierCertAppendEntity)
|
|
|
|
|
|
- var supplierEntity supplier.OilSupplier
|
|
|
- srv := supplier.GetOilSupplierService(utils.DBE)
|
|
|
- srv.GetEntityById(SupplierId, &supplierEntity)
|
|
|
- supplierEntity.PACNumber = PACNumber
|
|
|
- srvCols := []string{"PACNumber"}
|
|
|
- srv.UpdateEntityByIdCols(SupplierId, &supplierEntity, srvCols)
|
|
|
+ //var supplierEntity supplier.OilSupplier
|
|
|
+ //srv := supplier.GetOilSupplierService(utils.DBE)
|
|
|
+ //srv.GetEntityById(SupplierId, &supplierEntity)
|
|
|
+ //supplierEntity.PACNumber = PACNumber
|
|
|
+ //srvCols := []string{"PACNumber"}
|
|
|
+ //srv.UpdateEntityByIdCols(SupplierId, &supplierEntity, srvCols)
|
|
|
|
|
|
AuditRemark := ""
|
|
|
fmt.Println("审批入库传入状态:", status)
|