增加进程锁

This commit is contained in:
haozq 2025-12-22 15:26:16 +08:00
parent 366b7346fa
commit 31cbbd85cb
3 changed files with 16 additions and 15 deletions

View File

@ -22,18 +22,10 @@
<select />
</component>
<component name="ChangeListManager">
<list default="true" id="a38a4155-0e8c-4ddb-9f60-993f173584d3" name="Default Changelist" comment="新增安全单位接口">
<change afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/inter/mapper/DbDistLockUtilMapper.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/inter/service/DbDistLockUtil.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/resources/mapper/DbDistLockUtilMapper.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/jarRepositories.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/jarRepositories.xml" afterDir="false" />
<list default="true" id="a38a4155-0e8c-4ddb-9f60-993f173584d3" name="Default Changelist" comment="增加进程锁">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-admin/src/main/resources/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-admin/src/main/resources/application.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-admin/src/main/resources/mybatis-mapper/XxlJobInfoMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-admin/src/main/resources/mybatis-mapper/XxlJobInfoMapper.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-admin/src/main/resources/xxl-job/xxl-job2/XxlJobInfoMapper.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/service/jobhandler/DataCenterXxlJob.java" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/service/jobhandler/DataCenterXxlJob.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/service/jobhandler/JJBusinessXxlJob.java" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/service/jobhandler/JJBusinessXxlJob.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/resources/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/resources/application.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/resources/mapper/InterMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/resources/mapper/InterMapper.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -518,7 +510,7 @@
<workItem from="1762423073353" duration="3565000" />
<workItem from="1763027067254" duration="2637000" />
<workItem from="1764577090400" duration="1118000" />
<workItem from="1766380473286" duration="4235000" />
<workItem from="1766380473286" duration="6743000" />
</task>
<task id="LOCAL-00001" summary="初始化提交">
<option name="closed" value="true" />
@ -680,7 +672,15 @@
<option name="project" value="LOCAL" />
<updated>1762422871295</updated>
</task>
<option name="localTasksCounter" value="21" />
<task id="LOCAL-00021" summary="增加进程锁">
<option name="closed" value="true" />
<created>1766385624246</created>
<option name="number" value="00021" />
<option name="presentableId" value="LOCAL-00021" />
<option name="project" value="LOCAL" />
<updated>1766385624246</updated>
</task>
<option name="localTasksCounter" value="22" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -773,7 +773,8 @@
<MESSAGE value="修改未执行日计划接口" />
<MESSAGE value="新增字段及接口" />
<MESSAGE value="新增安全单位接口" />
<option name="LAST_COMMIT_MESSAGE" value="新增安全单位接口" />
<MESSAGE value="增加进程锁" />
<option name="LAST_COMMIT_MESSAGE" value="增加进程锁" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>

View File

@ -42,7 +42,7 @@ public class JJBusinessXxlJob {
}
/**
* 预警管理-今日未施工
* 预警管理-新进班组
*/
@XxlJob("todayNewTeam")
public void todayNewTeam(){

View File

@ -784,7 +784,7 @@
</insert>
<insert id="insertTicketInfo">
REPLACE INTO jj_weeks_info(ticket_id,job_gx,job_lx,
REPLACE INTO jj_ticket_info(ticket_id,job_gx,job_lx,
work_content,job_site,main_risk,team_leader,team_card,team_phone
)values (#{id},#{workGx},#{workType},#{workContent},#{workSite},'',#{userName},#{idCard},#{userPhone})
</insert>