|
@@ -5,6 +5,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<mapper namespace="com.onemap.apply.mapper.zymlapplication.ShareConfigurationMapper">
|
|
|
|
|
|
<update id="updateZymlShareState" parameterType="String">
|
|
|
- update t_yzt_zyml set sharestate = (case when sharestate !='1' then '0' else '1' end) where bsm = #{bsm}
|
|
|
+ update t_yzt_zyml set sharestate = (case when sharestate ='1' or sharestate is null or sharestate = '' then '0' else '1' end) where bsm = #{bsm}
|
|
|
</update>
|
|
|
</mapper>
|