|
@@ -185,7 +185,7 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="decimal">
|
|
|
delete from BMSTRUCK_STATEMENT
|
|
|
where STATEMENT_ID = #{statementId,jdbcType=DECIMAL}
|
|
|
</delete>
|
|
@@ -507,7 +507,7 @@
|
|
|
</set>
|
|
|
where STATEMENT_ID = #{statementId,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Short" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByPrimaryKey" parameterType="decimal" resultMap="BaseResultMap">
|
|
|
<include refid="select" />
|
|
|
where STATEMENT_ID = #{statementId,jdbcType=DECIMAL}
|
|
|
</select>
|
|
@@ -866,6 +866,7 @@
|
|
|
<foreach collection="orderList" item="orderId" open="(" close=")" separator=",">
|
|
|
#{orderId}
|
|
|
</foreach>
|
|
|
+ and BMSTRUCK_DETAILS_ORDER.WETHER_TO_STATEMENT = 1
|
|
|
</select>
|
|
|
<select id="getDetailIds" resultType="java.util.Map">
|
|
|
SELECT DISTINCT
|