|
@@ -115,6 +115,7 @@ func (this *OilContractController) GetEntityList() {
|
|
|
ContractClass := this.GetString("ContractClass")
|
|
ContractClass := this.GetString("ContractClass")
|
|
|
ClassName := this.GetString("ClassName")
|
|
ClassName := this.GetString("ClassName")
|
|
|
SecondUnit := this.GetString("SecondUnit")
|
|
SecondUnit := this.GetString("SecondUnit")
|
|
|
|
|
+ ImportSecondUnit := this.GetString("ImportSecondUnit")
|
|
|
|
|
|
|
|
if Id != "" {
|
|
if Id != "" {
|
|
|
where = where + " and Id like '%" + Id + "%'"
|
|
where = where + " and Id like '%" + Id + "%'"
|
|
@@ -128,6 +129,10 @@ func (this *OilContractController) GetEntityList() {
|
|
|
where = where + " and SecondUnit=" + SecondUnit + " "
|
|
where = where + " and SecondUnit=" + SecondUnit + " "
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if ImportSecondUnit != "" {
|
|
|
|
|
+ where = where + " and SecondUnit=" + ImportSecondUnit + " "
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if ClassName != "" {
|
|
if ClassName != "" {
|
|
|
where = where + " and ClassName='" + ClassName + "' "
|
|
where = where + " and ClassName='" + ClassName + "' "
|
|
|
}
|
|
}
|