Commit 93591aba authored by gaoyingwei's avatar gaoyingwei

修改 隔离定时同步

parent 75f58b3f
......@@ -38,6 +38,9 @@ public class JcglTask
jcglry.setBuilding(yxries.get(0).getBuilding());
jcglry.setUnit(yxries.get(0).getUnit());
jcglry.setHouse(yxries.get(0).getHouse());
if ("1".equals(yxries.get(0).getArea())){
jcglry.setIsArea("0");
}
jcglries.add(jcglry);
}
}
......
......@@ -242,6 +242,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<foreach item="item" index="index" collection="list" separator=";">
update jcglry
<trim prefix="SET" suffixOverrides=",">
<if test="item.isArea != null">is_area = #{item.isArea},</if>
street = #{item.street},
committee = #{item.committee},
community = #{item.community},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment