md
This commit is contained in:
parent
f07fd67a3d
commit
27dbd18422
@ -51,10 +51,12 @@ public class EmisSupplierController extends BaseController
|
||||
/**
|
||||
* 查询公司供应商表列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisSupplier:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisSupplier:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(EmisSupplier emisSupplier)
|
||||
{
|
||||
setPrivParams(emisSupplier);
|
||||
|
||||
startPage();
|
||||
List<EmisSupplier> list = emisSupplierService.selectEmisSupplierList(emisSupplier);
|
||||
return getDataTable(list);
|
||||
|
||||
@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="settledType != null and settledType != ''"> and settled_type=#{settledType}</if>
|
||||
<if test="transType != null and transType != ''"> and trans_type=#{transType}</if>
|
||||
|
||||
<if test="bizSite != null and bizSite != ''"> and ( FIND_IN_SET(#{bizSite},biz_site) or #{bizSite}=owner_site) </if>
|
||||
<if test="bizSite != null and bizSite != ''"> and FIND_IN_SET(#{bizSite},biz_site) </if>
|
||||
|
||||
<if test="bizSiteName != null and bizSiteName != ''"> and biz_site_name like concat('%', #{bizSiteName}, '%')</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
||||
@ -67,6 +67,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateTime != null "> and update_time = #{updateTime}</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="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
and FIND_IN_SET(#{params.privSiteCode},biz_site)
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user