|
|
@@ -217,5 +217,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
+ <update id="updateCertificationSync" >
|
|
|
+ UPDATE customers_ext set is_authentication ='1' WHERE chains_code in (
|
|
|
+ SELECT chains_code FROM customers_ext WHERE chains_code in (
|
|
|
+ SELECT t2.customer_code FROM customers_ext t1 LEFT JOIN meta_relation_ship_diy t2
|
|
|
+ on t1.chains_code = t2.main_customer_code
|
|
|
+ WHERE t1.is_authentication = '1' ) and is_authentication != '1')
|
|
|
+ </update>
|
|
|
+
|
|
|
|
|
|
</mapper>
|