You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
990 B

5 months ago
<?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.nov.KgLowDurable.mapper.LdOneOutStorageDemandEndMapper">
<!-- 通用查询映射结果 -->
<resultMap id="menuResultMap" type="com.nov.KgLowDurable.pojo.entity.LdOneOutStorageDemandEnd">
<id column="id" property="id"/>
<result column="one_out_storage_id" property="oneOutStorageId"/>
<result column="demand_end_id" property="demandEndId"/>
</resultMap>
<select id="selectByDemandEndId" resultType="com.nov.KgLowDurable.pojo.entity.LdOneOutStorageDemandEnd">
3 days ago
select a.* from ld_one_out_storage_demand_end a left join ld_one_out_storage b on a.one_out_storage_id = b.id
where b.status = 3
and demand_end_id in
5 months ago
<foreach collection="idList" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</select>
</mapper>