|
|
@@ -302,7 +302,8 @@
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByOrderNoAndAid">
|
|
|
- update order_examine set status=1 where aid= #{aid} and order_no= #{orderNo} and type= #{type}
|
|
|
+ update order_examine set status=1
|
|
|
+ where aid= #{aid} and order_no= #{orderNo} and type= #{type}
|
|
|
</update>
|
|
|
<select id="checkCountStatus" resultType="java.lang.Integer">
|
|
|
select count(*) from order_examine where order_no = #{orderNo}
|
|
|
@@ -341,8 +342,7 @@
|
|
|
<if test="type==4">
|
|
|
,type=0
|
|
|
</if>
|
|
|
-
|
|
|
- where status=0 and aid= #{aid}
|
|
|
+ where status=0 and aid= #{aid} and order_no=#{orderNo}
|
|
|
<if test="type==0 or type==1">
|
|
|
and type= #{type}
|
|
|
</if>
|