用户管理及下拉选查询接口开发
This commit is contained in:
parent
0505472d6f
commit
a6d0314d90
|
|
@ -30,6 +30,7 @@
|
|||
<module name="hn-czl-service" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel target="8" />
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="PREFER_TARGET_JDK_COMPILER" value="false" />
|
||||
|
|
|
|||
|
|
@ -5,31 +5,8 @@
|
|||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="30706c6d-35cd-44ba-b6ec-9865ccea7a75" name="Changes" comment="用户管理及下拉选查询接口开发">
|
||||
<change afterPath="$PROJECT_DIR$/HnRealNameBmw/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/HnRealNameMw/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/hn-czl-service/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/java/com/bonus/gateway/config/ContextPathConfig.java" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/hn_czl_screen/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/realname-app/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/HnRealNameBmw/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/HnRealNameBmw/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/HnRealNameBmw/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/HnRealNameBmw/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/HnRealNameMw/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/HnRealNameMw/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/HnRealNameMw/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/HnRealNameMw/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-czl-service/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-czl-service/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-czl-service/src/main/java/com/bonus/hn/bearing/capacity/backstage/login/controller/PublicLoginController.java" beforeDir="false" afterPath="$PROJECT_DIR$/hn-czl-service/src/main/java/com/bonus/hn/bearing/capacity/backstage/login/controller/PublicLoginController.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-czl-service/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-czl-service/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-gateway/bonus-gateway/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-gateway/bonus-gateway/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/resources/bootstrap-dev.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-gateway/bonus-gateway/src/main/resources/bootstrap-dev.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap-druid.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap-druid.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap-prod.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap-prod.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn-ldlz/ldlz-admin/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn_czl_screen/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/hn_czl_screen/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/hn_czl_screen/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/hn_czl_screen/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/realname-app/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/realname-app/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/realname-app/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/realname-app/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
|
@ -64,52 +41,53 @@
|
|||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"Maven.HnRealNameBmw [clean].executor": "Run",
|
||||
"Maven.HnRealNameBmw [install].executor": "Run",
|
||||
"Maven.HnRealNameMmw [clean].executor": "Run",
|
||||
"Maven.HnRealNameMmw [install].executor": "Run",
|
||||
"Maven.hn-czl-service [clean].executor": "Run",
|
||||
"Maven.hn-czl-service [install].executor": "Run",
|
||||
"Maven.hn-gateway [clean].executor": "Run",
|
||||
"Maven.hn-gateway [install].executor": "Run",
|
||||
"Maven.hn_czl_screen [clean].executor": "Run",
|
||||
"Maven.hn_czl_screen [install].executor": "Run",
|
||||
"Maven.ldlz [clean].executor": "Run",
|
||||
"Maven.ldlz [install].executor": "Run",
|
||||
"Maven.realname-app [clean].executor": "Run",
|
||||
"Maven.realname-app [install].executor": "Run",
|
||||
"RequestMappingsPanelOrder0": "0",
|
||||
"RequestMappingsPanelOrder1": "1",
|
||||
"RequestMappingsPanelWidth0": "75",
|
||||
"RequestMappingsPanelWidth1": "75",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"SONARLINT_PRECOMMIT_ANALYSIS": "true",
|
||||
"Spring Boot.BonusGatewayApplication.executor": "Debug",
|
||||
"Spring Boot.CzlScreenApplication.executor": "Debug",
|
||||
"Spring Boot.CzlServiceApplication.executor": "Debug",
|
||||
"Spring Boot.HnRealNameBmwApplication.executor": "Run",
|
||||
"Spring Boot.LdlzApplication.executor": "Run",
|
||||
"Spring Boot.RealNameAppApplication.executor": "Debug",
|
||||
"Spring Boot.RnamaApplication.executor": "Run",
|
||||
"Spring Boot.RnmwApplication.executor": "Debug",
|
||||
"kotlin-language-version-configured": "true",
|
||||
"last_opened_file_path": "F:/workspace/idea/hn_cloud_service/realname-app",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"project.structure.last.edited": "Project",
|
||||
"project.structure.proportion": "0.0",
|
||||
"project.structure.side.proportion": "0.43843496",
|
||||
"run.configurations.included.in.services": "true",
|
||||
"settings.editor.selected.configurable": "MavenSettings",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"Maven.HnRealNameBmw [clean].executor": "Run",
|
||||
"Maven.HnRealNameBmw [install].executor": "Run",
|
||||
"Maven.HnRealNameMmw [clean].executor": "Run",
|
||||
"Maven.HnRealNameMmw [install].executor": "Run",
|
||||
"Maven.hn-czl-service [clean].executor": "Run",
|
||||
"Maven.hn-czl-service [install].executor": "Run",
|
||||
"Maven.hn-gateway [clean].executor": "Run",
|
||||
"Maven.hn-gateway [install].executor": "Run",
|
||||
"Maven.hn_czl_screen [clean].executor": "Run",
|
||||
"Maven.hn_czl_screen [install].executor": "Run",
|
||||
"Maven.ldlz [clean].executor": "Run",
|
||||
"Maven.ldlz [install].executor": "Run",
|
||||
"Maven.realname-app [clean].executor": "Run",
|
||||
"Maven.realname-app [install].executor": "Run",
|
||||
"RequestMappingsPanelOrder0": "0",
|
||||
"RequestMappingsPanelOrder1": "1",
|
||||
"RequestMappingsPanelWidth0": "75",
|
||||
"RequestMappingsPanelWidth1": "75",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"SONARLINT_PRECOMMIT_ANALYSIS": "true",
|
||||
"Spring Boot.BonusGatewayApplication.executor": "Debug",
|
||||
"Spring Boot.CzlScreenApplication.executor": "Debug",
|
||||
"Spring Boot.CzlServiceApplication.executor": "Run",
|
||||
"Spring Boot.HnRealNameBmwApplication.executor": "Run",
|
||||
"Spring Boot.LdlzApplication.executor": "Run",
|
||||
"Spring Boot.RealNameAppApplication.executor": "Debug",
|
||||
"Spring Boot.RnamaApplication.executor": "Run",
|
||||
"Spring Boot.RnmwApplication.executor": "Debug",
|
||||
"git-widget-placeholder": "main",
|
||||
"kotlin-language-version-configured": "true",
|
||||
"last_opened_file_path": "F:/workspace/idea/hn_cloud_service",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"project.structure.last.edited": "Project",
|
||||
"project.structure.proportion": "0.15",
|
||||
"project.structure.side.proportion": "0.43843496",
|
||||
"run.configurations.included.in.services": "true",
|
||||
"settings.editor.selected.configurable": "reference.projectsettings.compiler.javacompiler",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</component>
|
||||
}]]></component>
|
||||
<component name="ReactorSettings">
|
||||
<option name="notificationShown" value="true" />
|
||||
</component>
|
||||
|
|
@ -266,6 +244,7 @@
|
|||
<workItem from="1765424267744" duration="6360000" />
|
||||
<workItem from="1765509604008" duration="11703000" />
|
||||
<workItem from="1765847372970" duration="757000" />
|
||||
<workItem from="1765855068157" duration="514000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="修改新增用户">
|
||||
<option name="closed" value="true" />
|
||||
|
|
@ -371,7 +350,15 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1765335044750</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="14" />
|
||||
<task id="LOCAL-00014" summary="用户管理及下拉选查询接口开发">
|
||||
<option name="closed" value="true" />
|
||||
<created>1765855232396</created>
|
||||
<option name="number" value="00014" />
|
||||
<option name="presentableId" value="LOCAL-00014" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1765855232396</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="15" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
|
|
|||
|
|
@ -69,11 +69,11 @@
|
|||
where NOT EXISTS (SELECT name FROM bns_smz_bm_sub_team WHERE name = #{name} and sub_id = #{subId} and is_active = 1)
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="deleteTeamManager" parameterType="com.bonus.hnrn.rnbmw.basic.entity.TeamManagerBean">
|
||||
<update id="deleteTeamManager" parameterType="com.bonus.hnrn.rnbmw.basic.entity.TeamManagerBean">
|
||||
update bns_smz_bm_sub_team set IS_ACTIVE = 0 WHERE ID = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateTeamManager">
|
||||
<update id="updateTeamManager">
|
||||
UPDATE bns_smz_bm_sub_team SET `NAME` = #{name}, `team_id` = #{teamId}, `SUB_ID` = #{subId},
|
||||
`team_type_id` = #{teamType}, `EIN_TIME` = #{einTime}, `EXIT_TIME` = #{exitTime} ,UPDATE_TIME = now()
|
||||
WHERE `ID` = #{id}
|
||||
|
|
|
|||
|
|
@ -111,13 +111,13 @@
|
|||
DELETE FROM bns_smz_bm_sub_pro_relation WHERE pro_id=#{proId}
|
||||
</delete>
|
||||
|
||||
<update bns_smz_id="updateSubUpdateTime">
|
||||
<update id="updateSubUpdateTime">
|
||||
update bns_smz_bm_subcontractor set
|
||||
update_time = #{updateTime}
|
||||
where ID = #{subId}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateProUpdateTime">
|
||||
<update id="updateProUpdateTime">
|
||||
update bns_smz_bm_project set
|
||||
update_time = #{updateTime}
|
||||
where ID = #{proId}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
values ( #{name},#{parentId},'0',#{type},now(),#{companyId})
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="updateOrg" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
<update id="updateOrg" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
update bns_smz_pm_organization
|
||||
<set>
|
||||
<if test="name != null">
|
||||
|
|
@ -118,15 +118,15 @@
|
|||
where ID = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="deleteOrg" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
<update id="deleteOrg" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
update bns_smz_pm_organization set IS_ACTIVE = 0 WHERE ID = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="deleteOrgYear" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
<update id="deleteOrgYear" parameterType="com.bonus.hnrn.rnbmw.manager.entity.OrgBean">
|
||||
update bns_smz_pm_organization_year set IS_ACTIVE = 0 WHERE ID = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateTeamType">
|
||||
<update id="updateTeamType">
|
||||
update bns_smz_bm_sub_team_type
|
||||
<set>
|
||||
<if test="name != null">
|
||||
|
|
@ -136,7 +136,7 @@
|
|||
where ID = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateOrgYear">
|
||||
<update id="updateOrgYear">
|
||||
update bns_smz_pm_organization_year
|
||||
<set>
|
||||
<if test="name != null">
|
||||
|
|
|
|||
|
|
@ -307,16 +307,16 @@ insert into bns_smz_rl_migrant_soninfo (true_name,sex,old,team_work,holder,work_
|
|||
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="updateiinfoByid" parameterType="com.bonus.hnrn.rnbmw.migrant.entity.MigrantBean">
|
||||
<update id="updateiinfoByid" parameterType="com.bonus.hnrn.rnbmw.migrant.entity.MigrantBean">
|
||||
update bns_smz_rl_idcard_check set name=#{trueName},idcard=#{idCard},people_date=#{date} where user_id=#{userId}
|
||||
</update>
|
||||
<update bns_smz_id="offlineInfoById">
|
||||
<update id="offlineInfoById">
|
||||
update bns_smz_rl_migrant_release set is_online = '0' where id = #{id}
|
||||
</update>
|
||||
<update bns_smz_id="delWorkInfoReleaseById">
|
||||
<update id="delWorkInfoReleaseById">
|
||||
update bns_smz_rl_migrant_release set is_active = '0' where id = #{id}
|
||||
</update>
|
||||
<update bns_smz_id="auditInfoById">
|
||||
<update id="auditInfoById">
|
||||
update bns_smz_rl_migrant_release set audit_result = #{auditResult}, audit_time = now(),is_online= #{isOnline} where id = #{id}
|
||||
</update>
|
||||
</mapper>
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@
|
|||
select ID_NUMBER as idNumber, ROLL_BANK_NAME as rollBankName from bns_smz_bm_worker_payroll where ID_NUMBER =#{idNumber}
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updateSalaryWintnessInfo">
|
||||
<update id="updateSalaryWintnessInfo">
|
||||
update bns_smz_bm_worker_payroll set BANK_CARD = #{bankCard},ROLL_BANK_NAME = #{rollBankName},BANK_ID = #{bankName}
|
||||
where ID_NUMBER = #{idNumber}
|
||||
;
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
)a
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="delSalaryWitnessInfo">
|
||||
<update id="delSalaryWitnessInfo">
|
||||
update bns_smz_bm_worker_payroll set IS_ACTIVE = '0' where ID_NUMBER = #{idNumber};
|
||||
update bns_smz_bm_worker_witness set IS_ACTIVE = '0' where witness_type = '2' and ID_NUMBER = #{idNumber};
|
||||
</update>
|
||||
|
|
@ -290,7 +290,7 @@
|
|||
values (#{idNumber},#{bankCard},#{bankName},#{rollBankName},#{uploadTime},#{userId},'1')
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="updateDeletePhoto">
|
||||
<update id="updateDeletePhoto">
|
||||
update bns_smz_bm_worker_witness set is_active = '0' where witness_path = #{deletePath}
|
||||
</update>
|
||||
</mapper>
|
||||
|
|
@ -2,20 +2,20 @@
|
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.bonus.hnrn.rnbmw.push.dao.TaskDao">
|
||||
|
||||
<!--<update bns_smz_id="updateAttendanceReview">
|
||||
<!--<update id="updateAttendanceReview">
|
||||
UPDATE bns_smz_fc_face_contrast aa SET AUDITOR = '自动审核',AUDIT_STATUS = '1',AUDIT_REMARK = '自动审核',AUDIT_TIME = NOW(),WORK_HOURS = '1'
|
||||
WHERE aa.AUDIT_STATUS='0' and aa.is_active='1'
|
||||
and DATE_FORMAT(NOW(), '%Y-%m-%d')>=aa.current_day and DATE_FORMAT(NOW(), '%H')=23
|
||||
</update>-->
|
||||
<!--自动更新考勤审核信息-->
|
||||
<update bns_smz_id="updateAttendanceReview">
|
||||
<update id="updateAttendanceReview">
|
||||
UPDATE bns_smz_xbg_user_attendance SET audit_status = 1,audit_time = NOW(),audit_remark = '自动审核',audti_user = '自动审核'
|
||||
WHERE audit_status = 0 AND data_type IN (1,2,3,4)
|
||||
AND DATE_FORMAT(NOW(), '%Y-%m-%d')>=DATE_FORMAT(create_date,'%Y-%m-%d')
|
||||
AND DATE_FORMAT(NOW(), '%H') = 23
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updatePayrollCreditTime">
|
||||
<update id="updatePayrollCreditTime">
|
||||
update bns_smz_bm_worker_provide_salary_info set balanceDate = #{payDate},payMonth = #{payMonth}
|
||||
where idCard = #{idCard} and submitBatchNo = #{submitBatchNo}
|
||||
</update>
|
||||
|
|
@ -190,10 +190,10 @@
|
|||
HAVING COUNT(*) > 1
|
||||
</select>
|
||||
|
||||
<!--<update bns_smz_id="updateAttendanceData">
|
||||
<!--<update id="updateAttendanceData">
|
||||
update bns_smz_fc_face_contrast set is_active = '0' where ID_NUMBER = #{idNumber} and CURRENT_DAY = #{currentDay} and USER_ID = 1
|
||||
</update>-->
|
||||
<update bns_smz_id="updateAttendanceData">
|
||||
<update id="updateAttendanceData">
|
||||
update bns_smz_fc_face_contrast set is_active = '0' where ID_NUMBER = #{idNumber} and CURRENT_DAY = #{currentDay} and USER_ID = 1
|
||||
</update>
|
||||
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@
|
|||
#{month}
|
||||
)
|
||||
</insert>
|
||||
<update bns_smz_id="updatePayForPerson">
|
||||
<update id="updatePayForPerson">
|
||||
update bns_smz_bm_worker_pay_person set
|
||||
<if test="unitOvertimePay != null and unitOvertimePay !='' ">
|
||||
overtime_pay=#{unitOvertimePay},
|
||||
|
|
@ -363,17 +363,17 @@
|
|||
is_active='1'
|
||||
where id_number=#{idNumber} and month=#{month} and year=#{year} and start_time=#{startTime} and end_time=#{endTime} and is_active!='0'
|
||||
</update>
|
||||
<update bns_smz_id="updatePayForTeam">
|
||||
<update id="updatePayForTeam">
|
||||
update bns_smz_bm_worker_pay_team set
|
||||
pay_flage='1'
|
||||
where id=#{id}
|
||||
</update>
|
||||
<update bns_smz_id="deletePayForTeam">
|
||||
<update id="deletePayForTeam">
|
||||
update bns_smz_bm_worker_pay_team set
|
||||
is_active='0'
|
||||
where id=#{id}
|
||||
</update>
|
||||
<update bns_smz_id="deletePayForPerson">
|
||||
<update id="deletePayForPerson">
|
||||
update bns_smz_bm_worker_pay_person set
|
||||
is_active='0'
|
||||
where year=(SELECT DISTINCT YEAR FROM bns_smz_bm_worker_pay_team WHERE id=#{id}) and month=(SELECT DISTINCT MONTH FROM bns_smz_bm_worker_pay_team WHERE id=#{id})
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
) a GROUP BY a.idCard
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updateAttendanceStatus">
|
||||
<update id="updateAttendanceStatus">
|
||||
update bns_smz_fc_face_contrast set is_push = #{status},push_time = #{nowTime}
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
GROUP BY bwci.idCard
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updateContractStatus">
|
||||
<update id="updateContractStatus">
|
||||
update bns_smz_bm_worker_contract set is_push = #{status},push_time = #{nowTime}
|
||||
where idCard = #{id}
|
||||
</update>
|
||||
|
|
|
|||
|
|
@ -305,15 +305,15 @@
|
|||
a.idCard
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updatePushErrorStatus">
|
||||
<update id="updatePushErrorStatus">
|
||||
update bns_smz_bm_push_exit_worker set is_push = 0 where ID_NUMBER = #{idNumber}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateWorkerEinStatus">
|
||||
<update id="updateWorkerEinStatus">
|
||||
update bns_smz_bm_worker_record set is_ein_push = #{status},ein_push_time = #{nowTime} where ID_NUMBER = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateWorkerExitStatus">
|
||||
<update id="updateWorkerExitStatus">
|
||||
update bns_smz_bm_worker_record set is_exit_push = #{status},exit_push_time = #{nowTime} where ID_NUMBER = #{id}
|
||||
</update>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
limit #{offset}, #{limit}
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="update">
|
||||
<update id="update">
|
||||
update bns_smz_t_dict t
|
||||
<set>
|
||||
<if test="type != null">
|
||||
|
|
|
|||
|
|
@ -14,15 +14,15 @@
|
|||
</where>
|
||||
</sql>
|
||||
|
||||
<update bns_smz_id="deleteUserPhone">
|
||||
<update id="deleteUserPhone">
|
||||
UPDATE bns_smz_own_worker SET `is_active` = '0' WHERE lxdh = #{phone}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="del">
|
||||
<update id="del">
|
||||
UPDATE bns_smz_sys_announcement SET is_active = '0' WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="delOwn">
|
||||
<update id="delOwn">
|
||||
UPDATE bns_smz_own_sys_announcement SET is_active = '0' WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
|
|
@ -387,7 +387,7 @@
|
|||
where t.id = #{userId}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="update">
|
||||
<update id="update">
|
||||
update bns_smz_sys_user t
|
||||
<set>
|
||||
<if test="userName != null">
|
||||
|
|
@ -603,11 +603,11 @@
|
|||
VALUES (#{version}, #{content}, now())
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="updateEditionVersion">
|
||||
<update id="updateEditionVersion">
|
||||
UPDATE bns_smz_sys_announcement SET `version` = #{version}, `content` = #{content}, `update_time` = now() WHERE `id` = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateEditionVersionOwn">
|
||||
<update id="updateEditionVersionOwn">
|
||||
UPDATE bns_smz_own_sys_announcement SET `version` = #{version}, `content` = #{content}, `update_time` = now() WHERE `id` = #{id}
|
||||
</update>
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
VALUES (#{roleId}, #{id});
|
||||
</insert>
|
||||
<!-- 重置密码 -->
|
||||
<update bns_smz_id="resetUserPwd">
|
||||
<update id="resetUserPwd">
|
||||
UPDATE bns_smz_sys_user SET `password`=#{password} WHERE phone=#{phone} and IS_ACTIVE='1'
|
||||
</update>
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
values(#{userId},#{deviceId},#{deviceModel},#{androidVersion},#{appVersion},#{loginDate},#{loginTime},#{loginType})
|
||||
</insert>
|
||||
|
||||
<update bns_smz_id="uploadFace" parameterType="com.bonus.hnrn.rnama.core.entity.UserBean">
|
||||
<update id="uploadFace" parameterType="com.bonus.hnrn.rnama.core.entity.UserBean">
|
||||
update bns_smz_sys_user set face_photo = #{facePhoto},face_feature = #{faceFeature},updateTime = #{faceTime},
|
||||
collection_face_time = #{faceTime} where id = #{id} and is_active = 1
|
||||
</update>
|
||||
|
|
@ -575,12 +575,12 @@
|
|||
and is_active = '1') AS isContract
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updatePassword">
|
||||
<update id="updatePassword">
|
||||
update bns_smz_sys_user set password = #{password}
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="userUpdata">
|
||||
<update id="userUpdata">
|
||||
update bns_smz_sys_user set SUB_ID=#{subId},team_id=#{teamId},updateTime=NOW()
|
||||
where id=#{id}
|
||||
</update>
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@
|
|||
and IS_ACTIVE=1
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updateUser" parameterType="com.bonus.hnrn.rnama.person.entity.IDCardBean">
|
||||
<update id="updateUser" parameterType="com.bonus.hnrn.rnama.person.entity.IDCardBean">
|
||||
UPDATE bns_smz_sys_user
|
||||
SET SUB_ID=#{subId},
|
||||
ORG_ID=#{orgId},
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
'1'
|
||||
)
|
||||
</insert>
|
||||
<update bns_smz_id="xgCertificateData">
|
||||
<update id="xgCertificateData">
|
||||
update bns_smz_own_worker_certificate
|
||||
set name =#{name},
|
||||
level=#{level},
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="delCertificateData">
|
||||
<update id="delCertificateData">
|
||||
update bns_smz_own_worker_certificate
|
||||
set is_active='0'
|
||||
where id = #{id}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.bonus.hnrn.rnama.own.dao.ContractDao">
|
||||
<update bns_smz_id="contractSign">
|
||||
<update id="contractSign">
|
||||
update bns_smz_own_contract
|
||||
set state='1',
|
||||
path=#{path},
|
||||
|
|
@ -11,14 +11,14 @@
|
|||
and work_id = #{workerId}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="contractOffSign">
|
||||
<update id="contractOffSign">
|
||||
UPDATE bns_smz_own_worker_off
|
||||
SET off_book = #{path},off_state='1'
|
||||
WHERE is_active = '1'
|
||||
AND worker_id = #{workerId};
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="contractOffCtSign">
|
||||
<update id="contractOffCtSign">
|
||||
UPDATE bns_smz_own_worker_off
|
||||
SET
|
||||
<if test="agreementPath!=null and agreementPath!=''">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
insert into bns_smz_own_read(worker_id, ann_id, is_read, create_time, update_time, is_active)
|
||||
VALUES (#{workerId}, #{notifyId}, '1', NOW(), NOW(), '1')
|
||||
</insert>
|
||||
<update bns_smz_id="delNotify">
|
||||
<update id="delNotify">
|
||||
UPDATE bns_smz_own_read
|
||||
set is_active='0',
|
||||
update_time=NOW()
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@
|
|||
where id = #{workerId}
|
||||
and is_active = '1'
|
||||
</update>
|
||||
<update bns_smz_id="updateUser">
|
||||
<update id="updateUser">
|
||||
update bns_smz_sys_user
|
||||
set PRO_ID=#{proId},
|
||||
face_photo=#{facePath},
|
||||
|
|
@ -111,14 +111,14 @@
|
|||
and is_active = '1'
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="modifyPro">
|
||||
<update id="modifyPro">
|
||||
update bns_smz_own_worker
|
||||
set pro_id=#{proId}
|
||||
where id = #{workerId}
|
||||
and is_active = '1'
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="modifyProByUser">
|
||||
<update id="modifyProByUser">
|
||||
update bns_smz_sys_user
|
||||
set PRO_ID=#{proId}
|
||||
where id = #{id}
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@
|
|||
NOW()
|
||||
)
|
||||
</insert>
|
||||
<update bns_smz_id="updateWorker">
|
||||
<update id="updateWorker">
|
||||
update bns_smz_own_worker set
|
||||
<if test="mail!=null and mail!=''">
|
||||
mail=#{mail},
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@
|
|||
</insert>
|
||||
|
||||
|
||||
<update bns_smz_id="updateAudit" parameterType="com.bonus.hnrn.rnama.person.entity.ContractBean">
|
||||
<update id="updateAudit" parameterType="com.bonus.hnrn.rnama.person.entity.ContractBean">
|
||||
UPDATE bns_smz_bm_worker_contract
|
||||
SET
|
||||
auditor = #{auditor},audit_time = #{auditTime},is_audit = #{isAudit},remark = #{remarks}
|
||||
|
|
@ -429,7 +429,7 @@
|
|||
idCard = #{partBIdCard} and id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateSign" parameterType="com.bonus.hnrn.rnama.person.entity.ContractBean">
|
||||
<update id="updateSign" parameterType="com.bonus.hnrn.rnama.person.entity.ContractBean">
|
||||
UPDATE bns_smz_bm_worker_contract_details
|
||||
SET
|
||||
legal_seal = #{legalSeal},
|
||||
|
|
@ -995,7 +995,7 @@
|
|||
-- AND bwc.contractType = '电子合同'
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="uploadProblemContract">
|
||||
<update id="uploadProblemContract">
|
||||
update bns_smz_bm_worker_contract set contractCode = #{code},person_contract_url = #{personPdfUrl}
|
||||
where idCard = #{partBIdCard}
|
||||
</update>
|
||||
|
|
@ -1389,23 +1389,23 @@
|
|||
</if>
|
||||
</select>
|
||||
|
||||
<update bns_smz_id="updateContract">
|
||||
<update id="updateContract">
|
||||
update bns_smz_bm_worker_contract set is_active = 0 where idCard = #{idNumber};
|
||||
update bns_smz_bm_worker_contract_details set is_active = 0 where part_b_idCard = #{idNumber};
|
||||
update bns_smz_bm_worker_witness set is_active = 0 where id_number = #{idNumber} and witness_type = 1;
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateWorkHistory">
|
||||
<update id="updateWorkHistory">
|
||||
update bns_smz_bm_worker_attend_history set
|
||||
is_active = '0'
|
||||
where ID_NUMBER = #{idNumber} and is_active='1' and EXIT_TIME is null
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateBank">
|
||||
<update id="updateBank">
|
||||
update bns_smz_bm_worker_witness set is_active = 0 where id_number = #{idNumber} and witness_type = 2;
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="uploadZeroAttendanceExamine">
|
||||
<update id="uploadZeroAttendanceExamine">
|
||||
UPDATE bns_smz_fc_face_contrast
|
||||
SET AUDITOR = '自动审核',
|
||||
AUDIT_STATUS = '1',
|
||||
|
|
@ -1418,7 +1418,7 @@
|
|||
and is_active = 1
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updataFacePhoto">
|
||||
<update id="updataFacePhoto">
|
||||
update bns_smz_bm_worker_photo
|
||||
set PHOTO_PATH =#{facePhoto}
|
||||
<if test="faceFeatureStr != null and faceFeatureStr != ''">
|
||||
|
|
@ -1429,7 +1429,7 @@
|
|||
and IS_ACTIVE='1'
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateEntranceData">
|
||||
<update id="updateEntranceData">
|
||||
update bns_smz_bm_worker_record
|
||||
set EXIT_DATE=null,EXIT_TIME=null,ein_status='1',
|
||||
<if test="postId != '' and postId != null">
|
||||
|
|
@ -1451,7 +1451,7 @@
|
|||
and TEAM_ID = #{teamId}
|
||||
</if>
|
||||
</update>
|
||||
<update bns_smz_id="updataUserData" parameterType="com.bonus.hnrn.rnama.person.entity.IDCardBean">
|
||||
<update id="updataUserData" parameterType="com.bonus.hnrn.rnama.person.entity.IDCardBean">
|
||||
UPDATE bns_smz_sys_user
|
||||
SET SUB_ID=#{subId},
|
||||
ORG_ID=#{orgId},
|
||||
|
|
@ -1460,7 +1460,7 @@
|
|||
WHERE ID_NUMBER = #{idNumber}
|
||||
and IS_ACTIVE = 1
|
||||
</update>
|
||||
<update bns_smz_id="setRestData" parameterType="com.bonus.hnrn.rnama.person.entity.FaceAttendanceNoExamineBean">
|
||||
<update id="setRestData" parameterType="com.bonus.hnrn.rnama.person.entity.FaceAttendanceNoExamineBean">
|
||||
insert into bns_smz_fc_face_contrast
|
||||
(
|
||||
<if test="idNumber!=null and idNumber!=''">
|
||||
|
|
@ -1557,7 +1557,7 @@
|
|||
)
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="delRestData">
|
||||
<update id="delRestData">
|
||||
update bns_smz_fc_face_contrast
|
||||
set AUDIT_STATUS='4'
|
||||
where ID_NUMBER = #{idNumber}
|
||||
|
|
@ -1568,20 +1568,20 @@
|
|||
and TEAM_ID = #{teamId}
|
||||
and is_active = 1
|
||||
</update>
|
||||
<update bns_smz_id="updateWork">
|
||||
<update id="updateWork">
|
||||
update bns_smz_bm_worker
|
||||
set NAME=#{name},
|
||||
phone=#{phone}
|
||||
where
|
||||
ID_NUMBER=#{idNumber}
|
||||
</update>
|
||||
<update bns_smz_id="updateFcFaceContractState">
|
||||
<update id="updateFcFaceContractState">
|
||||
update bns_smz_fc_face_contrast_state
|
||||
set st=CURDATE(),et=CURDATE(),state='1'
|
||||
where flage='1' or flage='3'
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateFaceAttendance">
|
||||
<update id="updateFaceAttendance">
|
||||
UPDATE bns_smz_xbg_user_attendance
|
||||
SET
|
||||
user_id = #{userId},
|
||||
|
|
@ -1613,7 +1613,7 @@
|
|||
id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="checkFaceContrastList">
|
||||
<update id="checkFaceContrastList">
|
||||
update bns_smz_xbg_user_attendance set
|
||||
audit_status = #{auditStatus},
|
||||
audti_user = #{auditUser},
|
||||
|
|
@ -1622,14 +1622,14 @@
|
|||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="transferAutograph">
|
||||
<update id="transferAutograph">
|
||||
update bns_smz_xbg_sign set
|
||||
sign_path = #{value1}
|
||||
where
|
||||
uuid = #{key}
|
||||
</update>
|
||||
|
||||
<update bns_smz_id="updateXbgAttStatus">
|
||||
<update id="updateXbgAttStatus">
|
||||
update bns_smz_xbg_contract_gx
|
||||
set
|
||||
clock_status = '1'
|
||||
|
|
|
|||
Loading…
Reference in New Issue