|
@@ -38,10 +38,10 @@
|
|
|
<result column="pd_text3" jdbcType="VARCHAR" property="pd_text3" />
|
|
<result column="pd_text3" jdbcType="VARCHAR" property="pd_text3" />
|
|
|
<result column="pd_text4" jdbcType="VARCHAR" property="pd_text4" />
|
|
<result column="pd_text4" jdbcType="VARCHAR" property="pd_text4" />
|
|
|
<result column="pd_text5" jdbcType="VARCHAR" property="pd_text5" />
|
|
<result column="pd_text5" jdbcType="VARCHAR" property="pd_text5" />
|
|
|
|
|
+ <result column="pd_remark" jdbcType="VARCHAR" property="pd_remark" />
|
|
|
<result column="pd_ym" jdbcType="INTEGER" property="pd_ym" />
|
|
<result column="pd_ym" jdbcType="INTEGER" property="pd_ym" />
|
|
|
<result column="pd_yqty" jdbcType="INTEGER" property="pd_yqty" />
|
|
<result column="pd_yqty" jdbcType="INTEGER" property="pd_yqty" />
|
|
|
<result column="pd_ioid" jdbcType="INTEGER" property="pd_ioid" />
|
|
<result column="pd_ioid" jdbcType="INTEGER" property="pd_ioid" />
|
|
|
- <result column="pd_remark" jdbcType="VARCHAR" property="pd_remark" />
|
|
|
|
|
<result column="pd_ordertotal" jdbcType="DOUBLE" property="pd_ordertotal" />
|
|
<result column="pd_ordertotal" jdbcType="DOUBLE" property="pd_ordertotal" />
|
|
|
<association property="productDTO" javaType="com.usoftchina.saas.document.dto.ProductDTO">
|
|
<association property="productDTO" javaType="com.usoftchina.saas.document.dto.ProductDTO">
|
|
|
<id column="pr_id" property="id"/>
|
|
<id column="pr_id" property="id"/>
|
|
@@ -74,9 +74,9 @@
|
|
|
<result column="pr_text4" property="pr_text4"/>
|
|
<result column="pr_text4" property="pr_text4"/>
|
|
|
</association>
|
|
</association>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.storage.po.ProdIODetail">
|
|
|
|
|
|
|
+<!-- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.storage.po.ProdIODetail">
|
|
|
<result column="pd_remark" jdbcType="LONGVARCHAR" property="pd_remark" />
|
|
<result column="pd_remark" jdbcType="LONGVARCHAR" property="pd_remark" />
|
|
|
- </resultMap>
|
|
|
|
|
|
|
+ </resultMap>-->
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
@@ -145,11 +145,9 @@
|
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
|
pd_remark
|
|
pd_remark
|
|
|
</sql>
|
|
</sql>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
|
|
|
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
|
- <include refid="Base_Column_List" />
|
|
|
|
|
- ,
|
|
|
|
|
- <include refid="Blob_Column_List" />
|
|
|
|
|
|
|
+ *
|
|
|
from prodiodetail
|
|
from prodiodetail
|
|
|
where pd_id = #{pd_id,jdbcType=INTEGER}
|
|
where pd_id = #{pd_id,jdbcType=INTEGER}
|
|
|
</select>
|
|
</select>
|