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.
22 lines
1.2 KiB
22 lines
1.2 KiB
<?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.LdTwoInventoryRecordMapper"> |
|
|
|
<!-- 通用查询映射结果 --> |
|
<resultMap id="LdInventoryRecordMap" type="com.nov.KgLowDurable.pojo.entity.LdTwoInventoryRecord"> |
|
<id column="id" property="id" /> |
|
<result column="consumer_form_id" property="consumerFormId" /> |
|
<result column="transaction_type" property="transactionType" /> |
|
<result column="quantity" property="quantity" /> |
|
<result column="operator_id" property="operatorId" /> |
|
<result column="operator_name" property="operatorName" /> |
|
<result column="operation_time" property="operationTime" /> |
|
<result column="department_id" property="departmentId" /> |
|
<result column="department_name" property="departmentName" /> |
|
</resultMap> |
|
<select id="selectByConsumerFormId" resultType="com.nov.KgLowDurable.pojo.entity.LdTwoInventoryRecord"> |
|
select * from ld_two_inventory_record where consumer_form_id = #{consumerFormId} and transaction_type = #{transactionType} |
|
</select> |
|
|
|
|
|
</mapper>
|
|
|