共通信息

dev
zhangyanli 2024-03-12 09:11:09 +08:00
parent a5d9ae30fc
commit ddb8a559d4
2 changed files with 24 additions and 30 deletions

View File

@ -31,6 +31,10 @@
f.USER_SIGN_FILE_PATH, f.USER_SIGN_FILE_PATH,
f.IS_RECORDER, f.IS_RECORDER,
f.IS_CHARGE, f.IS_CHARGE,
f.CERTIFICATETYPE,
f.AUTHENTICATION,
f.PORTRAIT,
f.ID_PHOTO,
f.USER_ID f.USER_ID
</sql> </sql>
@ -53,6 +57,10 @@
USER_SIGN_FILE_PATH, USER_SIGN_FILE_PATH,
IS_RECORDER, IS_RECORDER,
IS_CHARGE, IS_CHARGE,
CERTIFICATETYPE,
AUTHENTICATION,
PORTRAIT,
ID_PHOTO,
USER_ID USER_ID
</sql> </sql>
@ -75,6 +83,10 @@
#{USER_SIGN_FILE_PATH}, #{USER_SIGN_FILE_PATH},
#{IS_RECORDER}, #{IS_RECORDER},
#{IS_CHARGE}, #{IS_CHARGE},
#{CERTIFICATETYPE},
#{AUTHENTICATION},
#{PORTRAIT},
#{ID_PHOTO},
#{USER_ID} #{USER_ID}
</sql> </sql>

View File

@ -85,14 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ISHEAD, ISHEAD,
CARDNO, CARDNO,
PLS_ID, PLS_ID,
ISLEADER, ISLEADER
USER_ID_CARD,
CERTIFICATETYPE,
AUTHENTICATION,
CULTURAL_LEVEL,
PORTRAIT,
ID_PHOTO,
SIGNATURE_FILE_PATH
</sql> </sql>
@ -135,14 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{ISHEAD}, #{ISHEAD},
#{CARDNO}, #{CARDNO},
#{PLS_ID}, #{PLS_ID},
#{ISLEADER}, #{ISLEADER}
#{USER_ID_CARD},
#{CERTIFICATETYPE},
#{AUTHENTICATION},
#{CULTURAL_LEVEL},
#{PORTRAIT},
#{ID_PHOTO},
#{SIGNATURE_FILE_PATH}
</sql> </sql>
<!-- 字段2 --> <!-- 字段2 -->
@ -181,14 +167,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
f.ISHEAD, f.ISHEAD,
f.CARDNO, f.CARDNO,
f.PLS_ID, f.PLS_ID,
f.ISLEADER, f.ISLEADER
f.USER_ID_CARD,
f.CERTIFICATETYPE,
f.AUTHENTICATION,
f.CULTURAL_LEVEL,
f.PORTRAIT,
f.ID_PHOTO,
f.SIGNATURE_FILE_PATH
</sql> </sql>
<!-- 通过USERNAME获取数据 --> <!-- 通过USERNAME获取数据 -->
@ -337,12 +316,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="ISLEADER != null and ISLEADER != ''"> <if test="ISLEADER != null and ISLEADER != ''">
,ISLEADER = #{ISLEADER} ,ISLEADER = #{ISLEADER}
</if> </if>
<!-- <if test="PASSWORD != null and PASSWORD != ''">-->
<!-- ,PASSWORD = #{PASSWORD}-->
<!-- </if>-->
<!-- <if test="USERNAME != null and USERNAME != ''">
,USERNAME = #{USERNAME}
</if> -->
where where
USER_ID = #{USER_ID} USER_ID = #{USER_ID}
</update> </update>
@ -391,6 +364,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
u.DURATION, u.DURATION,
u.WORKSTATUS, u.WORKSTATUS,
u.WORKPERIOD, u.WORKPERIOD,
u.DEPARTMENT_ID,
u.POST_ID,
r.ROLE_ID, r.ROLE_ID,
r.ROLE_NAME, r.ROLE_NAME,
d.NAME as DEPARTMENT_NAME, d.NAME as DEPARTMENT_NAME,
@ -403,6 +378,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
,(select count(1) from BUS_STAGESTUDENTRELATION s where s.USER_ID = u.USER_ID) as TASK_COUNT, ,(select count(1) from BUS_STAGESTUDENTRELATION s where s.USER_ID = u.USER_ID) as TASK_COUNT,
(select count(1) from BUS_STAGESTUDENTRELATION s where s.USER_ID = u.USER_ID and s.STAGEEXAMSTATE=3) as COMPLETE_COUNT (select count(1) from BUS_STAGESTUDENTRELATION s where s.USER_ID = u.USER_ID and s.STAGEEXAMSTATE=3) as COMPLETE_COUNT
</if> </if>
,info.USER_ID_CARD
,info.CERTIFICATETYPE
,info.DEGREE_OF_EDUCATION
,info.PERSONNEL_TYPE
,info.DUTIES
,dic.`NAME` as PERSONNEL_TYPE_NAME
from <include refid="tableName"></include> u from <include refid="tableName"></include> u
left join SYS_ROLE r on u.ROLE_ID = r.ROLE_ID left join SYS_ROLE r on u.ROLE_ID = r.ROLE_ID
left join OA_DEPARTMENT d on d.DEPARTMENT_ID=u.DEPARTMENT_ID left join OA_DEPARTMENT d on d.DEPARTMENT_ID=u.DEPARTMENT_ID
@ -410,6 +391,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join BUS_SHIFTWORKRULES sw on sw.SHIFTWORKRULES_ID = u.SHIFTDUTYONE left join BUS_SHIFTWORKRULES sw on sw.SHIFTWORKRULES_ID = u.SHIFTDUTYONE
left join BUS_SHIFTWORKRULES swr on swr.SHIFTWORKRULES_ID = u.SHIFTDUTYTWO left join BUS_SHIFTWORKRULES swr on swr.SHIFTWORKRULES_ID = u.SHIFTDUTYTWO
left join SYS_USERINFO info on info.USER_ID = u.USER_ID left join SYS_USERINFO info on info.USER_ID = u.USER_ID
left join SYS_DICTIONARIES dic on dic.DICTIONARIES_ID = info.PERSONNEL_TYPE
where where
u.ISDELETE = 0 u.ISDELETE = 0
and u.USERNAME != 'admin' and u.USERNAME != 'admin'