This commit is contained in:
linfso 2024-06-09 21:56:33 +08:00
parent b3bad102c3
commit 92fc682301
2 changed files with 31 additions and 12 deletions

View File

@ -363,10 +363,10 @@ public class EmisWaybillController extends EmisBaseController
"sendCountry","sendCountryName",
"sendProvince","sendProvinceName",
"sendCity","sendCityName",
"transLineType","transLineName",
"productType","productName",
"transLineType","transLineTypeName",
"productType","productTypeName",
"sendSiteName","destinationName",
"dispatchUnderlingSiteName"
"dispatchUnderlingSiteName",
},value= EmisWaybill.class,type= JacksonFilter.JscksonFilterType.RESPONSE)

View File

@ -224,10 +224,19 @@
and `name` = #{name}
and phone = #{phone}
and province = #{province}
and city = #{city}
and county = #{county}
and address = #{address}
and company = #{company}
<if test="city != null and city != ''"> and city = #{city}</if>
<if test="city == null">and city is null</if>
<if test="county != null and county != ''">and county = #{county}</if>
<if test="county == null ">and county is null</if>
<if test="address != null and address != ''">and address = #{address}</if>
<if test="address == null">and address is null</if>
<if test="company != null and company != ''">and company = #{company}</if>
<if test="company == null">and company is null</if>
and address_type = #{addressType}
and customer_code is null
</select>
@ -239,11 +248,21 @@
and `name` = #{name}
and phone = #{phone}
and province = #{province}
and city = #{city}
and county = #{county}
and address = #{address}
and company = #{company}
and address_type = #{addressType}
<if test="city != null and city != ''"> and city = #{city}</if>
<if test="city == null">and city is null</if>
<if test="county != null and county != ''">and county = #{county}</if>
<if test="county == null ">and county is null</if>
<if test="address != null and address != ''">and address = #{address}</if>
<if test="address == null">and address is null</if>
<if test="company != null and company != ''">and company = #{company}</if>
<if test="company == null">and company is null</if>
and address_type = #{addressType}
limit 1
</select>