Commit 243da8f3 authored by chenhao's avatar chenhao

bug :5163 的修改

parent b03ab0d1
...@@ -180,4 +180,6 @@ public interface FormInstanceMapper extends BaseMapper<FormInstance> { ...@@ -180,4 +180,6 @@ public interface FormInstanceMapper extends BaseMapper<FormInstance> {
Map<String, String> getBuildingToLongitudeAndLatitude(String instanceId); Map<String, String> getBuildingToLongitudeAndLatitude(String instanceId);
List<Map<String, Long>> getBuildVideoCount(); List<Map<String, Long>> getBuildVideoCount();
int updateFormInstanceByInstanceAndFieldName(String name,String value ,Long instanceId);
} }
...@@ -408,6 +408,10 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i ...@@ -408,6 +408,10 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
} }
} }
} }
/* 解决bug 5103中修改节点信息之后没有同步修改动态表单的问题 ------by chenhao 2022-03-22 --开始 */
formInstanceMapper.updateFormInstanceByInstanceAndFieldName("bizOrgCode", bizOrgCode, instanceId);
formInstanceMapper.updateFormInstanceByInstanceAndFieldName("bizOrgName", bizOrgName, instanceId);
/* 解决bug 5103中修改节点信息之后没有同步修改动态表单的问题 ------by chenhao 2022-03-22 -- 结束 */
// 发布风险区域同步操作事件 // 发布风险区域同步操作事件
map.put("instanceId", formKeyMap.get("instanceId")); map.put("instanceId", formKeyMap.get("instanceId"));
map.put("code", formKeyMap.get("code")); map.put("code", formKeyMap.get("code"));
......
...@@ -518,4 +518,14 @@ WHERE ...@@ -518,4 +518,14 @@ WHERE
GROUP BY GROUP BY
b.instanceId b.instanceId
</select> </select>
<update id ="updateFormInstanceByInstanceAndFieldName">
UPDATE wl_form_instance
SET field_value = #{value}
WHERE
instance_id =#{instanceId}
AND field_name =#{name}
</update>
</mapper> </mapper>
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