heheng
3 天以前 8a3a1c0b838d3b532750dc7c69362c2f5b0e7132
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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.gkhy.exam.system.mapper.WarehousingRecordMapper">
 
    <select id="selectWarehousingRecordList" parameterType="com.gkhy.exam.system.domain.WarehousingRecord"
            resultType="com.gkhy.exam.system.domain.WarehousingRecord">
        select * from warehousing_record
        where del_flag = 0
        <if test="companyId != null">
            and company_id = #{companyId}
        </if>
        order by create_time desc
    </select>
</mapper>