修改实名制后台管理系统

This commit is contained in:
lSun 2025-12-23 17:31:22 +08:00
parent 9419ad6c5f
commit 58c6be0576
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@
<!--新增班组-->
<insert id="insertTeamManager" parameterType="com.bonus.hnrn.rnbmw.basic.entity.TeamManagerBean">
insert into bns_smz_bm_sub_team (NAME,SUB_ID,team_type_id, team_id, EIN_TIME,EXIT_TIME,IS_ACTIVE,UPDATE_TIME)
select #{name},#{subId},#{teamType},#{teamId}, #{einTime},#{exitTime},'1',now() from bns_smz_dual
select #{name},#{subId},#{teamType},#{teamId}, #{einTime},#{exitTime},'1',now() from dual
where NOT EXISTS (SELECT name FROM bns_smz_bm_sub_team WHERE name = #{name} and sub_id = #{subId} and is_active = 1)
</insert>
@ -473,10 +473,10 @@
a.team_id as teamId,
a.SUB_ID as subId,
bq.SUB_NAME as subName,
a.EIN_TIME,
a.EIN_TIME as einTime,
a.team_type_id as teamTypeId,
bstt.`NAME` as teamType,
a.EXIT_TIME
a.EXIT_TIME as exitTime
from bns_smz_bm_sub_team a
LEFT JOIN bns_smz_bm_subcontractor bq ON a.SUB_ID = bq.ID
LEFT JOIN bns_smz_pm_company pc ON pc.id = bq.COMPANY_ID

View File

@ -91,7 +91,7 @@
<insert id="regisAccount" parameterType="com.bonus.hnrn.rnama.core.entity.UserBean" useGeneratedKeys="true" keyProperty="id" >
insert into bns_smz_sys_user(username,loginname,phone,ID_NUMBER,password,role_id,org_id,sub_id,pro_id,post_id,sex,status,create_type,face_photo,face_feature,collection_face_time,examine_status,createTime,updateTime,team_id)
select #{username},#{username},#{phone},#{idNumber},#{password},#{role},#{orgId},#{subId},#{proId},#{postId},#{sex},'1','1',#{facePhoto},#{faceFeature},#{faceTime},'0',#{createTime},#{updateTime},#{teamId} from bns_smz_dual
select #{username},#{username},#{phone},#{idNumber},#{password},#{role},#{orgId},#{subId},#{proId},#{postId},#{sex},'1','1',#{facePhoto},#{faceFeature},#{faceTime},'0',#{createTime},#{updateTime},#{teamId} from dual
where NOT EXISTS (SELECT phone FROM bns_smz_sys_user WHERE phone = #{phone} and is_active = 1)
</insert>