Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
52133b9c
Commit
52133b9c
authored
May 06, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.材料附件
parent
9c2751dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
276 deletions
+68
-276
src/main/java/cn/timer/api/bean/yggl/YgglAttaClfjb.java
+39
-41
src/main/resources/mapping/yggl/YgglAttaClfjbMapper.xml
+29
-235
No files found.
src/main/java/cn/timer/api/bean/yggl/YgglAttaClfjb.java
View file @
52133b9c
...
...
@@ -35,59 +35,58 @@ public class YgglAttaClfjb extends Model<YgglAttaClfjb> {
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号 编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"员工工号 员工工号"
,
example
=
"101"
)
private
Integer
empNum
;
@ApiModelProperty
(
value
=
"劳动合同 "
,
example
=
"劳动合同"
)
@ApiModelProperty
(
value
=
"组织机构代码 组织机构代码"
,
example
=
"101"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"身份证原件照"
,
example
=
"身份证原件照"
)
private
String
urlSfzyjzp
;
@ApiModelProperty
(
value
=
"工资银行卡"
,
example
=
"工资银行卡"
)
private
String
urlGzyhk
;
@ApiModelProperty
(
value
=
"获奖证书"
,
example
=
"获奖证书"
)
private
String
urlHjzs
;
@ApiModelProperty
(
value
=
"学历证明"
,
example
=
"学历证明"
)
private
String
urlXlzm
;
@ApiModelProperty
(
value
=
"社保卡"
,
example
=
"社保卡"
)
private
String
urlSbk
;
@ApiModelProperty
(
value
=
"职业资格证书"
,
example
=
"职业资格证书"
)
private
String
urlZyzgzs
;
@ApiModelProperty
(
value
=
"个人证件照"
,
example
=
"个人证件照"
)
private
String
urlGrzjz
;
@ApiModelProperty
(
value
=
"公积金卡"
,
example
=
"公积金卡"
)
private
String
urlGjjk
;
@ApiModelProperty
(
value
=
"身份证复印件"
,
example
=
"身份证复印件"
)
private
String
urlSfzfyj
;
@ApiModelProperty
(
value
=
"劳动合同"
,
example
=
"劳动合同"
)
private
String
urlLdht
;
@ApiModelProperty
(
value
=
"入职简历 "
,
example
=
"入职简历"
)
@ApiModelProperty
(
value
=
"上家公司离职证明"
,
example
=
"上家公司离职证明"
)
private
String
urlSjlzzm
;
@ApiModelProperty
(
value
=
"社会保险转移单"
,
example
=
"社会保险转移单"
)
private
String
urlShbxzyd
;
@ApiModelProperty
(
value
=
"绩效考核结果报告"
,
example
=
"绩效考核结果报告"
)
private
String
urlJxkhjgbg
;
@ApiModelProperty
(
value
=
"入职简历"
,
example
=
"入职简历"
)
private
String
urlRzjl
;
@ApiModelProperty
(
value
=
"入职登记表 "
,
example
=
"入职登记表"
)
@ApiModelProperty
(
value
=
"入职登记表"
,
example
=
"入职登记表"
)
private
String
urlRzdjb
;
@ApiModelProperty
(
value
=
"入职体验单 "
,
example
=
"入职体验单"
)
@ApiModelProperty
(
value
=
"入职体检单"
,
example
=
"入职体检单"
)
private
String
urlRztyd
;
@ApiModelProperty
(
value
=
"上家公司离职证明 "
,
example
=
"上家公司离职证明"
)
private
String
urlSjlzzm
;
@ApiModelProperty
(
value
=
"工作申请表 "
,
example
=
"工作申请表"
)
@ApiModelProperty
(
value
=
"工作申请表"
,
example
=
"工作申请表"
)
private
String
urlGzsqb
;
@ApiModelProperty
(
value
=
"调薪通知单 "
,
example
=
"调薪通知单"
)
@ApiModelProperty
(
value
=
"调薪通知单"
,
example
=
"调薪通知单"
)
private
String
urlDxtzd
;
@ApiModelProperty
(
value
=
"转正申请表 "
,
example
=
"转正申请表"
)
@ApiModelProperty
(
value
=
"转正申请表"
,
example
=
"转正申请表"
)
private
String
urlZzsqb
;
@ApiModelProperty
(
value
=
"社会保险转移单 "
,
example
=
"社会保险转移单"
)
private
String
urlShbxzyd
;
@ApiModelProperty
(
value
=
"人事异动申请表 "
,
example
=
"人事异动申请表"
)
@ApiModelProperty
(
value
=
"人事异动申请表"
,
example
=
"人事异动申请表"
)
private
String
urlRsydsqb
;
@ApiModelProperty
(
value
=
"档案其他 "
,
example
=
"档案其他"
)
@ApiModelProperty
(
value
=
"其它"
,
example
=
"其它"
)
private
String
urlDaOther
;
@ApiModelProperty
(
value
=
"离职审批 "
,
example
=
"离职审批"
)
@ApiModelProperty
(
value
=
"离职审批"
,
example
=
"离职审批"
)
private
String
urlLzsp
;
@ApiModelProperty
(
value
=
"离职证明 "
,
example
=
"离职证明"
)
@ApiModelProperty
(
value
=
"离职证明"
,
example
=
"离职证明"
)
private
String
urlLzzm
;
@ApiModelProperty
(
value
=
"离职申请表 "
,
example
=
"离职申请表"
)
@ApiModelProperty
(
value
=
"离职申请表"
,
example
=
"离职申请表"
)
private
String
urlLzsqb
;
@ApiModelProperty
(
value
=
"工作交接表 "
,
example
=
"工作交接表"
)
@ApiModelProperty
(
value
=
"工作交接表"
,
example
=
"工作交接表"
)
private
String
urlGzjjb
;
@ApiModelProperty
(
value
=
"离职其他 "
,
example
=
"离职其他"
)
private
String
urlLzOther
;
@ApiModelProperty
(
value
=
"组织机构代码 组织机构代码"
,
example
=
"101"
)
private
Integer
orgCode
;
}
\ No newline at end of file
src/main/resources/mapping/yggl/YgglAttaClfjbMapper.xml
View file @
52133b9c
...
...
@@ -3,239 +3,34 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.yggl.YgglAttaClfjbMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.yggl.YgglAttaClfjb"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"emp_num"
property=
"empNum"
/>
<result
column=
"url_ldht"
property=
"urlLdht"
/>
<result
column=
"url_rzjl"
property=
"urlRzjl"
/>
<result
column=
"url_rzdjb"
property=
"urlRzdjb"
/>
<result
column=
"url_rztyd"
property=
"urlRztyd"
/>
<result
column=
"url_sjlzzm"
property=
"urlSjlzzm"
/>
<result
column=
"url_gzsqb"
property=
"urlGzsqb"
/>
<result
column=
"url_dxtzd"
property=
"urlDxtzd"
/>
<result
column=
"url_zzsqb"
property=
"urlZzsqb"
/>
<result
column=
"url_shbxzyd"
property=
"urlShbxzyd"
/>
<result
column=
"url_rsydsqb"
property=
"urlRsydsqb"
/>
<result
column=
"url_da_other"
property=
"urlDaOther"
/>
<result
column=
"url_lzsp"
property=
"urlLzsp"
/>
<result
column=
"url_lzzm"
property=
"urlLzzm"
/>
<result
column=
"url_lzsqb"
property=
"urlLzsqb"
/>
<result
column=
"url_gzjjb"
property=
"urlGzjjb"
/>
<result
column=
"url_lz_other"
property=
"urlLzOther"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.yggl.YgglAttaClfjb"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"emp_num"
property=
"empNum"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"url_sfzyjzp"
property=
"urlSfzyjzp"
/>
<result
column=
"url_gzyhk"
property=
"urlGzyhk"
/>
<result
column=
"url_hjzs"
property=
"urlHjzs"
/>
<result
column=
"url_xlzm"
property=
"urlXlzm"
/>
<result
column=
"url_sbk"
property=
"urlSbk"
/>
<result
column=
"url_zyzgzs"
property=
"urlZyzgzs"
/>
<result
column=
"url_grzjz"
property=
"urlGrzjz"
/>
<result
column=
"url_gjjk"
property=
"urlGjjk"
/>
<result
column=
"url_sfzfyj"
property=
"urlSfzfyj"
/>
<result
column=
"url_ldht"
property=
"urlLdht"
/>
<result
column=
"url_sjlzzm"
property=
"urlSjlzzm"
/>
<result
column=
"url_shbxzyd"
property=
"urlShbxzyd"
/>
<result
column=
"url_jxkhjgbg"
property=
"urlJxkhjgbg"
/>
<result
column=
"url_rzjl"
property=
"urlRzjl"
/>
<result
column=
"url_rzdjb"
property=
"urlRzdjb"
/>
<result
column=
"url_rztyd"
property=
"urlRztyd"
/>
<result
column=
"url_gzsqb"
property=
"urlGzsqb"
/>
<result
column=
"url_dxtzd"
property=
"urlDxtzd"
/>
<result
column=
"url_zzsqb"
property=
"urlZzsqb"
/>
<result
column=
"url_rsydsqb"
property=
"urlRsydsqb"
/>
<result
column=
"url_da_other"
property=
"urlDa_other"
/>
<result
column=
"url_lzsp"
property=
"urlLzsp"
/>
<result
column=
"url_lzzm"
property=
"urlLzzm"
/>
<result
column=
"url_lzsqb"
property=
"urlLzsqb"
/>
<result
column=
"url_gzjjb"
property=
"urlGzjjb"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
emp_num,
url_ldht,
url_rzjl,
url_rzdjb,
url_rztyd,
url_sjlzzm,
url_gzsqb,
url_dxtzd,
url_zzsqb,
url_shbxzyd,
url_rsydsqb,
url_da_other,
url_lzsp,
url_lzzm,
url_lzsqb,
url_gzjjb,
url_lz_other,
org_code
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id YgglAttaClfjb_id,
emp_num YgglAttaClfjb_emp_num,
url_ldht YgglAttaClfjb_url_ldht,
url_rzjl YgglAttaClfjb_url_rzjl,
url_rzdjb YgglAttaClfjb_url_rzdjb,
url_rztyd YgglAttaClfjb_url_rztyd,
url_sjlzzm YgglAttaClfjb_url_sjlzzm,
url_gzsqb YgglAttaClfjb_url_gzsqb,
url_dxtzd YgglAttaClfjb_url_dxtzd,
url_zzsqb YgglAttaClfjb_url_zzsqb,
url_shbxzyd YgglAttaClfjb_url_shbxzyd,
url_rsydsqb YgglAttaClfjb_url_rsydsqb,
url_da_other YgglAttaClfjb_url_da_other,
url_lzsp YgglAttaClfjb_url_lzsp,
url_lzzm YgglAttaClfjb_url_lzzm,
url_lzsqb YgglAttaClfjb_url_lzsqb,
url_gzjjb YgglAttaClfjb_url_gzjjb,
url_lz_other YgglAttaClfjb_url_lz_other,
org_code YgglAttaClfjb_org_code
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.yggl.YgglAttaClfjb">
INSERT INTO yggl_atta_clfjb
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != empNum'>
emp_num,
</if>
<if test ='null != urlLdht'>
url_ldht,
</if>
<if test ='null != urlRzjl'>
url_rzjl,
</if>
<if test ='null != urlRzdjb'>
url_rzdjb,
</if>
<if test ='null != urlRztyd'>
url_rztyd,
</if>
<if test ='null != urlSjlzzm'>
url_sjlzzm,
</if>
<if test ='null != urlGzsqb'>
url_gzsqb,
</if>
<if test ='null != urlDxtzd'>
url_dxtzd,
</if>
<if test ='null != urlZzsqb'>
url_zzsqb,
</if>
<if test ='null != urlShbxzyd'>
url_shbxzyd,
</if>
<if test ='null != urlRsydsqb'>
url_rsydsqb,
</if>
<if test ='null != urlDaOther'>
url_da_other,
</if>
<if test ='null != urlLzsp'>
url_lzsp,
</if>
<if test ='null != urlLzzm'>
url_lzzm,
</if>
<if test ='null != urlLzsqb'>
url_lzsqb,
</if>
<if test ='null != urlGzjjb'>
url_gzjjb,
</if>
<if test ='null != urlLzOther'>
url_lz_other,
</if>
<if test ='null != orgCode'>
org_code
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != empNum'>
#{empNum},
</if>
<if test ='null != urlLdht'>
#{urlLdht},
</if>
<if test ='null != urlRzjl'>
#{urlRzjl},
</if>
<if test ='null != urlRzdjb'>
#{urlRzdjb},
</if>
<if test ='null != urlRztyd'>
#{urlRztyd},
</if>
<if test ='null != urlSjlzzm'>
#{urlSjlzzm},
</if>
<if test ='null != urlGzsqb'>
#{urlGzsqb},
</if>
<if test ='null != urlDxtzd'>
#{urlDxtzd},
</if>
<if test ='null != urlZzsqb'>
#{urlZzsqb},
</if>
<if test ='null != urlShbxzyd'>
#{urlShbxzyd},
</if>
<if test ='null != urlRsydsqb'>
#{urlRsydsqb},
</if>
<if test ='null != urlDaOther'>
#{urlDaOther},
</if>
<if test ='null != urlLzsp'>
#{urlLzsp},
</if>
<if test ='null != urlLzzm'>
#{urlLzzm},
</if>
<if test ='null != urlLzsqb'>
#{urlLzsqb},
</if>
<if test ='null != urlGzjjb'>
#{urlGzjjb},
</if>
<if test ='null != urlLzOther'>
#{urlLzOther},
</if>
<if test ='null != orgCode'>
#{orgCode}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM yggl_atta_clfjb
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.yggl.YgglAttaClfjb">
UPDATE yggl_atta_clfjb
<set>
<if test ='null != empNum'>emp_num = #{empNum},</if>
<if test ='null != urlLdht'>url_ldht = #{urlLdht},</if>
<if test ='null != urlRzjl'>url_rzjl = #{urlRzjl},</if>
<if test ='null != urlRzdjb'>url_rzdjb = #{urlRzdjb},</if>
<if test ='null != urlRztyd'>url_rztyd = #{urlRztyd},</if>
<if test ='null != urlSjlzzm'>url_sjlzzm = #{urlSjlzzm},</if>
<if test ='null != urlGzsqb'>url_gzsqb = #{urlGzsqb},</if>
<if test ='null != urlDxtzd'>url_dxtzd = #{urlDxtzd},</if>
<if test ='null != urlZzsqb'>url_zzsqb = #{urlZzsqb},</if>
<if test ='null != urlShbxzyd'>url_shbxzyd = #{urlShbxzyd},</if>
<if test ='null != urlRsydsqb'>url_rsydsqb = #{urlRsydsqb},</if>
<if test ='null != urlDaOther'>url_da_other = #{urlDaOther},</if>
<if test ='null != urlLzsp'>url_lzsp = #{urlLzsp},</if>
<if test ='null != urlLzzm'>url_lzzm = #{urlLzzm},</if>
<if test ='null != urlLzsqb'>url_lzsqb = #{urlLzsqb},</if>
<if test ='null != urlGzjjb'>url_gzjjb = #{urlGzjjb},</if>
<if test ='null != urlLzOther'>url_lz_other = #{urlLzOther},</if>
<if test ='null != orgCode'>org_code = #{orgCode}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM yggl_atta_clfjb
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM yggl_atta_clfjb
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM yggl_atta_clfjb
</select>
-->
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment