update 财务管理页面添加筛选参数

This commit is contained in:
Lemon
2023-09-16 16:09:46 +08:00
parent 837381b4b4
commit 40e374a81b
3 changed files with 40 additions and 0 deletions

View File

@@ -17,10 +17,26 @@ public class QueryMerchantInfoDTO {
private Integer pageNum;
/**
* 运营商id
*/
private String merchantId;
/**
* 运营商名称
*/
private String merchantName;
/**
* 负责人名称
*/
private String managerName;
/**
* 负责人手机号
*/
private String managerPhone;
private List<String> deptIds;
}

View File

@@ -400,5 +400,11 @@
<if test="dto.merchantId != null and dto.merchantId != ''">
and t1.id = #{dto.merchantId,jdbcType=VARCHAR}
</if>
<if test="dto.managerName != null and dto.managerName != ''">
and t1.manager_name = #{dto.managerName,jdbcType=VARCHAR}
</if>
<if test="dto.managerPhone != null and dto.managerPhone != ''">
and t1.manager_phone = #{dto.managerPhone,jdbcType=VARCHAR}
</if>
</select>
</mapper>