<?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="org.jeecg.modules.bonus.mapper.BonusPaymentMapper">
|
|
<select id="queryPageList" resultType="org.jeecg.modules.bonus.entity.BonusPayment">
|
|
SELECT * FROM bonus_payment a JOIN pro_project b
|
on a.pro = b.id
|
WHERE 1 = 1
|
|
<if test="xmmc!=null">
|
and b.xmmc = #{xmmc}
|
</if>
|
|
<if test="xmbh!=null">
|
and b.xmbh = #{xmbh}
|
</if>
|
|
|
<!-- <if test="billNo!=null">
|
and a.bill_no like concat('%',#{billNo},'%')
|
</if>-->
|
|
ORDER BY a.create_time DESC
|
|
|
|
|
</select>
|
</mapper>
|