|
|
@@ -33,6 +33,8 @@
|
|
|
<result column="sa_seller" property="sa_seller" jdbcType="VARCHAR" />
|
|
|
<result column="sa_sellercode" property="sa_sellercode" jdbcType="VARCHAR" />
|
|
|
<result column="sa_date" property="sa_date" jdbcType="TIMESTAMP"/>
|
|
|
+ <result column="creatorName" property="creatorName" jdbcType="VARCHAR" />
|
|
|
+ <result column="updaterName" property="updaterName" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
sa_id, sa_code, sa_custid, sa_custcode, sa_custname, sa_toplace, sa_total, sa_totalupper,
|
|
|
@@ -419,4 +421,7 @@
|
|
|
select count(1) from saledetail where sd_said = #{id}
|
|
|
and ifnull(sd_yqty, 0) > 0;
|
|
|
</select>
|
|
|
+ <update id="updateCreator">
|
|
|
+ update sale set creatorId = #{userId} , creatorName=#{userName} where sa_id=#{id}
|
|
|
+ </update>
|
|
|
</mapper>
|