|
@@ -32,7 +32,8 @@
|
|
|
DATE_FORMAT(#{endDate},"%Y%m%d"))
|
|
|
</if>
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
- AND (lower(expense_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ AND (lower(expense_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(agent) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
</select>
|
|
|
<!-- 费用管理列表查询 -->
|
|
@@ -76,7 +77,8 @@
|
|
|
)
|
|
|
</if>
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
- AND (lower(expense_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ AND (lower(expense_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(agent) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="startDate != null">
|
|
|
AND (DATE_FORMAT(create_date,"%Y%m%d") >=
|