md
This commit is contained in:
parent
4a12a21d5e
commit
839f57468f
@ -73,7 +73,7 @@ public class EmisCustomerAddressController extends BaseController
|
||||
}
|
||||
|
||||
|
||||
@JacksonFilter(include= {"id","name","phone","country","province","city","county","countryName","provinceName","cityName","countyName","address","postCode","email","company","blDefaultFlag","orderNum","createTime","remark"},value= EmisCustomerAddress.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
|
||||
@JacksonFilter(include= {"id","name","phone","country","province","city","county","address","postCode","email","company","countryName","provinceName","cityName","countyName","blDefaultFlag","orderNum","createTime","remark"},value= EmisCustomerAddress.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
|
||||
@RequestMapping("/getAddressById")
|
||||
public AjaxResult getAddressById(@RequestParam("id") Long id)
|
||||
{
|
||||
|
||||
@ -87,6 +87,11 @@
|
||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
|
||||
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
|
||||
|
||||
<if test="searchValue != null and searchValue != ''"> and
|
||||
and ( name like concat(#{name}, '%') or phone like concat(#{phone}, '%') or company like concat(#{company}, '%') )
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user