Commit e00f1c58 authored by tianbo's avatar tianbo

Merge remote-tracking branch 'origin/develop_tzs_main' into develop_tzs_register

parents 1d70fc30 c9b26dec
...@@ -1132,7 +1132,7 @@ public class JGDPStatisticsServiceImpl { ...@@ -1132,7 +1132,7 @@ public class JGDPStatisticsServiceImpl {
return this.setDefaultEquStateCount(); return this.setDefaultEquStateCount();
} }
// 按照管辖机构区域信息模糊查询 // 按照管辖机构区域信息模糊查询
boolMust.must(QueryBuilders.prefixQuery("ORG_BRANCH_CODE", QueryParser.escape(orgCode))); boolMust.must(QueryBuilders.prefixQuery("ORG_BRANCH_CODE", orgCode));
//已赋码 //已赋码
boolMust.must(QueryBuilders.existsQuery("SUPERVISORY_CODE")); boolMust.must(QueryBuilders.existsQuery("SUPERVISORY_CODE"));
boolMust.mustNot(QueryBuilders.termQuery("SUPERVISORY_CODE", "null")); boolMust.mustNot(QueryBuilders.termQuery("SUPERVISORY_CODE", "null"));
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
</select> </select>
<select id="queryPlanListByOrgCode" resultType="Map"> <select id="queryPlanListByOrgCode" resultType="Map">
select p.id, p.name from p_plan p where p.is_delete = 0 and and b.biz_org_code like concat(#{loginOrgCode},'%') select p.id, p.name from p_plan p where p.is_delete = 0 and p.biz_org_code like concat(#{loginOrgCode},'%')
</select> </select>
<update id="initUpdatePlanStatus"> <update id="initUpdatePlanStatus">
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
</update> </update>
<update id="initUpdatePlanNextGenDate"> <update id="initUpdatePlanNextGenDate">
UPDATE p_plan p SET p.next_gen_date = CURDATE() WHERE p.is_delete = 0 AND p.status = 0 AND p.plan_end IS NULL AND p.next_gen_date <![CDATA[ < ]]> CURDATE(); UPDATE p_plan p SET p.next_gen_date = CURDATE() WHERE p.is_delete = 0 AND p.status = 0 AND p.plan_end IS NULL AND p.next_gen_date <![CDATA[ < ]]> CURDATE();
</update> </update>
<select id="getPlan" resultType="com.yeejoin.amos.patrol.dao.entity.Plan"> <select id="getPlan" resultType="com.yeejoin.amos.patrol.dao.entity.Plan">
......
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