|
|
@@ -22,6 +22,7 @@
|
|
|
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
<result column="updaterName" jdbcType="TIMESTAMP" property="updaterName" />
|
|
|
<result column="updaterId" jdbcType="INTEGER" property="updaterId" />
|
|
|
+ <result column="pr_brand" jdbcType="VARCHAR" property="pr_brand" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
st_id, st_prodid, st_prodcode, st_proddetail, st_prodorispeccode, st_prodkind, st_produnit,
|
|
|
@@ -231,8 +232,8 @@
|
|
|
|
|
|
<select id="selectStockTakingBycondition" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from stocktaking
|
|
|
+ stocktaking.*,pr_brand
|
|
|
+ from stocktaking left join product on pr_id = st_prodid
|
|
|
<where>
|
|
|
<if test="con != null">
|
|
|
${con}
|