|
@@ -54,36 +54,34 @@
|
|
|
<result column="pd_text4" property="pd_text4" jdbcType="VARCHAR" />
|
|
<result column="pd_text4" property="pd_text4" jdbcType="VARCHAR" />
|
|
|
<result column="pd_text5" property="pd_text5" jdbcType="VARCHAR" />
|
|
<result column="pd_text5" property="pd_text5" jdbcType="VARCHAR" />
|
|
|
<result column="pd_yqty" property="pd_yqty" jdbcType="DOUBLE" />
|
|
<result column="pd_yqty" property="pd_yqty" jdbcType="DOUBLE" />
|
|
|
- <association property="productDTO" javaType="com.usoftchina.saas.document.dto.ProductDTO">
|
|
|
|
|
- <id column="pr_id" property="id"/>
|
|
|
|
|
- <result column="pr_code" property="pr_code"/>
|
|
|
|
|
- <result column="pr_detail" property="pr_detail"/>
|
|
|
|
|
- <result column="pr_spec" property="pr_spec"/>
|
|
|
|
|
- <result column="pr_unit" property="pr_unit"/>
|
|
|
|
|
- <result column="pr_kind" property="pr_kind"/>
|
|
|
|
|
- <result column="pr_orispeccode" property="pr_orispeccode"/>
|
|
|
|
|
- <result column="pr_whid" property="pr_whid"/>
|
|
|
|
|
- <result column="pr_whcode" property="pr_whcode"/>
|
|
|
|
|
- <result column="pr_whname" property="pr_whname"/>
|
|
|
|
|
- <result column="pr_zxbzs" property="pr_zxbzs"/>
|
|
|
|
|
- <result column="pr_leadtime" property="pr_leadtime"/>
|
|
|
|
|
- <result column="pr_brand" property="pr_brand"/>
|
|
|
|
|
- <result column="pr_standardprice" property="pr_standardprice"/>
|
|
|
|
|
- <result column="pr_purcprice" property="pr_purcprice"/>
|
|
|
|
|
- <result column="pr_saleprice" property="pr_saleprice"/>
|
|
|
|
|
- <result column="pr_vendid" property="pr_vendid"/>
|
|
|
|
|
- <result column="pr_vendname" property="pr_vendname"/>
|
|
|
|
|
- <result column="pr_vendcode" property="pr_vendcode"/>
|
|
|
|
|
- <result column="pr_docdate" property="pr_docdate"/>
|
|
|
|
|
- <result column="pr_recordmanid" property="pr_recordmanid"/>
|
|
|
|
|
- <result column="pr_recordman" property="pr_recordman"/>
|
|
|
|
|
- <result column="pr_status" property="pr_status"/>
|
|
|
|
|
- <result column="pr_statuscode" property="pr_statuscode"/>
|
|
|
|
|
- <result column="pr_text1" property="pr_text1"/>
|
|
|
|
|
- <result column="pr_text2" property="pr_text2"/>
|
|
|
|
|
- <result column="pr_text3" property="pr_text3"/>
|
|
|
|
|
- <result column="pr_text4" property="pr_text4"/>
|
|
|
|
|
- </association>
|
|
|
|
|
|
|
+ <result column="pr_id" property="pr_id"/>
|
|
|
|
|
+ <result column="pr_code" property="pr_code"/>
|
|
|
|
|
+ <result column="pr_detail" property="pr_detail"/>
|
|
|
|
|
+ <result column="pr_spec" property="pr_spec"/>
|
|
|
|
|
+ <result column="pr_unit" property="pr_unit"/>
|
|
|
|
|
+ <result column="pr_kind" property="pr_kind"/>
|
|
|
|
|
+ <result column="pr_orispeccode" property="pr_orispeccode"/>
|
|
|
|
|
+ <result column="pr_whid" property="pr_whid"/>
|
|
|
|
|
+ <result column="pr_whcode" property="pr_whcode"/>
|
|
|
|
|
+ <result column="pr_whname" property="pr_whname"/>
|
|
|
|
|
+ <result column="pr_zxbzs" property="pr_zxbzs"/>
|
|
|
|
|
+ <result column="pr_leadtime" property="pr_leadtime"/>
|
|
|
|
|
+ <result column="pr_brand" property="pr_brand"/>
|
|
|
|
|
+ <result column="pr_standardprice" property="pr_standardprice"/>
|
|
|
|
|
+ <result column="pr_purcprice" property="pr_purcprice"/>
|
|
|
|
|
+ <result column="pr_saleprice" property="pr_saleprice"/>
|
|
|
|
|
+ <result column="pr_vendid" property="pr_vendid"/>
|
|
|
|
|
+ <result column="pr_vendname" property="pr_vendname"/>
|
|
|
|
|
+ <result column="pr_vendcode" property="pr_vendcode"/>
|
|
|
|
|
+ <result column="pr_docdate" property="pr_docdate"/>
|
|
|
|
|
+ <result column="pr_recordmanid" property="pr_recordmanid"/>
|
|
|
|
|
+ <result column="pr_recordman" property="pr_recordman"/>
|
|
|
|
|
+ <result column="pr_status" property="pr_status"/>
|
|
|
|
|
+ <result column="pr_statuscode" property="pr_statuscode"/>
|
|
|
|
|
+ <result column="pr_text1" property="pr_text1"/>
|
|
|
|
|
+ <result column="pr_text2" property="pr_text2"/>
|
|
|
|
|
+ <result column="pr_text3" property="pr_text3"/>
|
|
|
|
|
+ <result column="pr_text4" property="pr_text4"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<select id="selectPurchaseListByCondition" resultMap="BaseResultMap">
|
|
<select id="selectPurchaseListByCondition" resultMap="BaseResultMap">
|
|
@@ -109,7 +107,7 @@
|
|
|
and companyId = #{companyId}
|
|
and companyId = #{companyId}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by pu_id desc
|
|
|
|
|
|
|
+ order by pu_date desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|