From d346846239a8a39246c464dc634f5fd72add99ab Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期二, 26 八月 2025 15:22:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/pim-jlmy' into pim-jlmy --- main-business/src/main/resources/mapper/CompensationPerformanceMapper.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/resources/mapper/CompensationPerformanceMapper.xml b/main-business/src/main/resources/mapper/CompensationPerformanceMapper.xml new file mode 100644 index 0000000..9b64c66 --- /dev/null +++ b/main-business/src/main/resources/mapper/CompensationPerformanceMapper.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.ruoyi.business.mapper.CompensationPerformanceMapper"> + + <select id="listPage" resultType="com.ruoyi.business.entity.CompensationPerformance"> + select * from compensation_performance + <where> + <if test="req.name != null and req.name != ''"> + and `name` like concat('%',#{req.name},'%') + </if> + <if test="req.payDateStr != null and req.payDateStr != ''"> + and pay_date like concat('%',#{req.payDateStr},'%') + </if> + </where> + </select> +</mapper> \ No newline at end of file -- Gitblit v1.9.3