|
|
@@ -109,9 +109,7 @@
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
|
|
select
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- ,
|
|
|
- <include refid="Blob_Column_List" />
|
|
|
+ *
|
|
|
from prodinout
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
</select>
|
|
|
@@ -560,5 +558,7 @@ update ProdInOut SET
|
|
|
<select id="getWareHouseByCode" resultType="java.util.HashMap">
|
|
|
select pr_whid,pr_whcode,pr_whname from product where pr_code=#{code} and companyid=#{companyId} and pr_statuscode='OPEN'
|
|
|
</select>
|
|
|
-
|
|
|
+ <update id="updateCreator">
|
|
|
+ update ProdInOut set creatorId = #{userId} , creatorName=#{userName} where pi_id=#{id}
|
|
|
+ </update>
|
|
|
</mapper>
|