|
|
@ -25,6 +25,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
select objid, location_code, location_name, material_type, store_code, location_area, location_row, location_line, location_tier, location_status, efficiency, remark, delete_flag, record_time from base_location_info
|
|
|
|
select objid, location_code, location_name, material_type, store_code, location_area, location_row, location_line, location_tier, location_status, efficiency, remark, delete_flag, record_time from base_location_info
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectBaseLocationInfoList" parameterType="BaseLocationInfo" resultMap="BaseLocationInfoResult">
|
|
|
|
<select id="selectBaseLocationInfoList" parameterType="BaseLocationInfo" resultMap="BaseLocationInfoResult">
|
|
|
|
<include refid="selectBaseLocationInfoVo"/>
|
|
|
|
<include refid="selectBaseLocationInfoVo"/>
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
@ -37,9 +40,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectBaseLocationInfoByObjid" parameterType="String" resultMap="BaseLocationInfoResult">
|
|
|
|
<select id="selectBaseLocationInfoByObjid" parameterType="String" resultMap="BaseLocationInfoResult">
|
|
|
|
<include refid="selectBaseLocationInfoVo"/>
|
|
|
|
<include refid="selectBaseLocationInfoVo"/>
|
|
|
|
where objid = #{objid}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertBaseLocationInfo" parameterType="BaseLocationInfo">
|
|
|
|
<insert id="insertBaseLocationInfo" parameterType="BaseLocationInfo">
|
|
|
|
<!--<selectKey keyProperty="objid" resultType="long" order="BEFORE">
|
|
|
|
<!--<selectKey keyProperty="objid" resultType="long" order="BEFORE">
|
|
|
|
SELECT seq_base_location_info.NEXTVAL as objid FROM DUAL
|
|
|
|
SELECT seq_base_location_info.NEXTVAL as objid FROM DUAL
|
|
|
|