Просмотр исходного кода

客户转交,订单转交修改公出转交审核人

anderx лет назад: 2
Родитель
Сommit
f444d860bd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/goafanti/common/mapper/PublicExamineMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/PublicExamineMapper.xml

@@ -107,7 +107,7 @@
   <update id="updateAidByAid">
   <update id="updateAidByAid">
     update public_examine a ,(select id,name from admin where id=#{aid})b
     update public_examine a ,(select id,name from admin where id=#{aid})b
     set a.aid=b.id ,a.aname =b.name
     set a.aid=b.id ,a.aname =b.name
-    where a.aid = #{oldAid}
+    where a.aid = #{oldAid} and a.status=0
   </update>
   </update>