|
@@ -49,6 +49,8 @@ func (this *OilContractController) GetEntityList() {
|
|
|
Id := this.GetString("Id")
|
|
Id := this.GetString("Id")
|
|
|
SupplierId := this.GetString("SupplierId")
|
|
SupplierId := this.GetString("SupplierId")
|
|
|
SupplierName := this.GetString("SupplierName")
|
|
SupplierName := this.GetString("SupplierName")
|
|
|
|
|
+ Status := this.GetString("Status")
|
|
|
|
|
+ SettleStatus := this.GetString("SettleStatus")
|
|
|
ProjectName := this.GetString("ProjectName")
|
|
ProjectName := this.GetString("ProjectName")
|
|
|
ContractNo := this.GetString("ContractNo")
|
|
ContractNo := this.GetString("ContractNo")
|
|
|
ProjectPlace := this.GetString("ProjectPlace")
|
|
ProjectPlace := this.GetString("ProjectPlace")
|
|
@@ -118,6 +120,14 @@ func (this *OilContractController) GetEntityList() {
|
|
|
where = where + " and SupplierName like '%" + SupplierName + "%'"
|
|
where = where + " and SupplierName like '%" + SupplierName + "%'"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if Status != "" {
|
|
|
|
|
+ where = where + " and Status=" + Status + " "
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if SettleStatus != "" {
|
|
|
|
|
+ where = where + " and SettleStatus='" + SettleStatus + "' "
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if ProjectName != "" {
|
|
if ProjectName != "" {
|
|
|
where = where + " and ProjectName like '%" + ProjectName + "%'"
|
|
where = where + " and ProjectName like '%" + ProjectName + "%'"
|
|
|
}
|
|
}
|
|
@@ -838,6 +848,10 @@ func (this *OilContractController) UpdateEntity() {
|
|
|
|
|
|
|
|
"SupplierName",
|
|
"SupplierName",
|
|
|
|
|
|
|
|
|
|
+ "Status",
|
|
|
|
|
+
|
|
|
|
|
+ "SettleStatus",
|
|
|
|
|
+
|
|
|
"ProjectName",
|
|
"ProjectName",
|
|
|
|
|
|
|
|
"ContractNo",
|
|
"ContractNo",
|