Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
吴学德
gdtel-gztel-school-center
Commits
c99f1b00
Commit
c99f1b00
authored
May 21, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学生不限量证件和大王卡证件稽核
parent
f12eb271
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
269 additions
and
11 deletions
+269
-11
common/src/main/java/com/winsun/bean/LzKpi.java
+8
-7
common/src/main/java/com/winsun/bean/StudentCard.java
+183
-0
common/src/main/java/com/winsun/mapper/StudentCardMapper.java
+16
-0
common/src/main/java/com/winsun/mapper/StudentCertUploadMapper.java
+17
-0
common/src/main/java/com/winsun/utils/EntityUtil.java
+3
-4
service-manager/src/main/java/com/winsun/controller/StudentCardVerifyController.java
+0
-0
service-manager/src/main/java/com/winsun/controller/StudentDwkVerifyController.java
+0
-0
service-manager/src/main/java/com/winsun/utils/ExcelDealUtils.java
+42
-0
No files found.
common/src/main/java/com/winsun/bean/LzKpi.java
View file @
c99f1b00
package
com
.
winsun
.
bean
;
package
com
.
winsun
.
bean
;
import
com.baomidou.mybatisplus.annotations.TableField
;
import
com.baomidou.mybatisplus.annotations.TableId
;
import
com.baomidou.mybatisplus.annotations.TableId
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
com.baomidou.mybatisplus.enums.IdType
;
import
com.baomidou.mybatisplus.enums.IdType
;
...
@@ -24,27 +25,27 @@ public class LzKpi implements Serializable {
...
@@ -24,27 +25,27 @@ public class LzKpi implements Serializable {
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"report_daily"
)
@Table
Fiel
d
(
value
=
"report_daily"
)
private
Integer
reportDaily
;
private
Integer
reportDaily
;
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"collective_sales"
)
@Table
Fiel
d
(
value
=
"collective_sales"
)
private
Integer
collectiveSales
;
private
Integer
collectiveSales
;
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"weekly_meeting"
)
@Table
Fiel
d
(
value
=
"weekly_meeting"
)
private
Integer
weeklyMeeting
;
private
Integer
weeklyMeeting
;
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"organ_training"
)
@Table
Fiel
d
(
value
=
"organ_training"
)
private
Integer
organTraining
;
private
Integer
organTraining
;
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"design_plan"
)
@Table
Fiel
d
(
value
=
"design_plan"
)
private
Integer
designPlan
;
private
Integer
designPlan
;
/**
/**
*
*
...
@@ -53,7 +54,7 @@ public class LzKpi implements Serializable {
...
@@ -53,7 +54,7 @@ public class LzKpi implements Serializable {
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"user_id"
)
@Table
Fiel
d
(
value
=
"user_id"
)
private
String
userId
;
private
String
userId
;
/**
/**
...
@@ -63,7 +64,7 @@ public class LzKpi implements Serializable {
...
@@ -63,7 +64,7 @@ public class LzKpi implements Serializable {
/**
/**
*
*
*/
*/
@Table
I
d
(
value
=
"is_del"
)
@Table
Fiel
d
(
value
=
"is_del"
)
private
String
isDel
;
private
String
isDel
;
...
...
common/src/main/java/com/winsun/bean/StudentCard.java
0 → 100644
View file @
c99f1b00
package
com
.
winsun
.
bean
;
import
com.baomidou.mybatisplus.annotations.TableField
;
import
com.baomidou.mybatisplus.annotations.TableId
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
com.baomidou.mybatisplus.enums.IdType
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description 大王卡证件稽核
* @Author pxl
* @Date 2020-05-20
*/
@Data
@TableName
(
"yx_student_card"
)
public
class
StudentCard
implements
Serializable
{
private
static
final
long
serialVersionUID
=
4106267216672888277L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
/**
* 用户姓名
*/
@TableField
(
"user_name"
)
private
String
userName
;
/**
* 订单号码
*/
@TableField
(
"order_phone"
)
private
String
orderPhone
;
/**
* 联系号码
*/
@TableField
(
"link_phone"
)
private
String
linkPhone
;
/**
* 审核人姓名
*/
@TableField
(
"audit_name"
)
private
String
auditName
;
/**
* 县分
*/
@TableField
(
"county"
)
private
String
county
;
/**
* 学校
*/
@TableField
(
"school"
)
private
String
school
;
/**
* 身份证号
*/
@TableField
(
"id_card"
)
private
String
idCard
;
/**
* 学生证封面照片
*/
@TableField
(
"student_card_url"
)
private
String
studentCardUrl
;
/**
* 学生证内页照片
*/
@TableField
(
"other_img_url1"
)
private
String
otherImgUrl1
;
/**
* 身份证照片
*/
@TableField
(
"other_img_url2"
)
private
String
otherImgUrl2
;
/**
* 补充照片
*/
@TableField
(
"other_img_url3"
)
private
String
otherImgUrl3
;
/**
* 上传时间
*/
@TableField
(
"upload_date"
)
private
Date
uploadDate
;
/**
* 是否已上传学生证照片、学校等必填信息
*/
@TableField
(
"is_full"
)
private
Integer
isFull
;
/**
* 学生证照片是否清晰
*/
@TableField
(
"is_clear"
)
private
Integer
isClear
;
/**
* 学生年龄是否25岁及以下
*/
@TableField
(
"is_under_years"
)
private
Integer
isUnderYears
;
/**
* 号码被实名人员与上传学生证用户是否一致
*/
@TableField
(
"is_student_accordance"
)
private
Integer
isStudentAccordance
;
/**
* 学生证所属学校与号码所属学校是否一致
*/
@TableField
(
"is_school_accordance"
)
private
Integer
isSchoolAccordance
;
/**
* 资料上传时间是否早于CRM系统激活时间
*/
@TableField
(
"is_upload_before_activate"
)
private
Integer
isUploadBeforeActivate
;
/**
* 办理号码是否新49元套餐号码
*/
@TableField
(
"is_combo_money49"
)
private
Integer
isComboMoney49
;
/**
* crm激活时间
*/
@TableField
(
"crn_activate_date"
)
private
Date
crnActivateDate
;
/**
* 代理商
*/
@TableField
(
"agent_businessman"
)
private
String
agentBusinessman
;
/**
* 审核状态 1:未审核 2:审核通过 3:审核不通过 4:无效
*/
@TableField
(
"audit_state"
)
private
Integer
auditState
;
/**
* 审核人
*/
@TableField
(
"operator"
)
private
String
operator
;
/**
* 审核时间
*/
@TableField
(
"audit_date"
)
private
Date
auditDate
;
/**
* 是否首次上传
*/
@TableField
(
"is_first_upload"
)
private
Integer
isFirstUpload
;
/**
* 资料首次上传时间
*/
@TableField
(
"first_upload_date"
)
private
Date
firstUploadDate
;
}
common/src/main/java/com/winsun/mapper/StudentCardMapper.java
0 → 100644
View file @
c99f1b00
package
com
.
winsun
.
mapper
;
import
com.baomidou.mybatisplus.mapper.BaseMapper
;
import
com.winsun.bean.StudentCard
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Component
;
/**
* 〈大王卡证件稽核〉
* @author PXL
* @create 2020/5/20 11:43
*/
@Mapper
@Component
public
interface
StudentCardMapper
extends
BaseMapper
<
StudentCard
>
{
}
common/src/main/java/com/winsun/mapper/StudentCertUploadMapper.java
0 → 100644
View file @
c99f1b00
package
com
.
winsun
.
mapper
;
import
com.baomidou.mybatisplus.mapper.BaseMapper
;
import
com.winsun.bean.StudentCertUpload
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Component
;
/**
* 〈学生不限量证件〉
*
* @author PXL
* @create 2020/5/20 11:44
*/
@Mapper
@Component
public
interface
StudentCertUploadMapper
extends
BaseMapper
<
StudentCertUpload
>
{
}
common/src/main/java/com/winsun/utils/EntityUtil.java
View file @
c99f1b00
package
com
.
winsun
.
utils
;
package
com
.
winsun
.
utils
;
import
org.apache.poi.ss.formula.functions.T
;
import
org.springframework.cglib.beans.BeanMap
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
org.apache.poi.ss.formula.functions.T
;
import
org.springframework.cglib.beans.BeanMap
;
/**
/**
* 实体类工具类
* 实体类工具类
* @author dongyp
* @author dongyp
...
@@ -20,7 +20,6 @@ public class EntityUtil {
...
@@ -20,7 +20,6 @@ public class EntityUtil {
for
(
T
entity
:
list
)
{
for
(
T
entity
:
list
)
{
resultList
.
add
(
BeanMap
.
create
(
entity
));
resultList
.
add
(
BeanMap
.
create
(
entity
));
}
}
return
resultList
;
return
resultList
;
}
}
}
}
service-manager/src/main/java/com/winsun/controller/StudentCardVerifyController.java
0 → 100644
View file @
c99f1b00
This diff is collapsed.
Click to expand it.
service-manager/src/main/java/com/winsun/controller/StudentDwkVerifyController.java
0 → 100644
View file @
c99f1b00
This diff is collapsed.
Click to expand it.
service-manager/src/main/java/com/winsun/utils/ExcelDealUtils.java
View file @
c99f1b00
...
@@ -308,7 +308,49 @@ public class ExcelDealUtils {
...
@@ -308,7 +308,49 @@ public class ExcelDealUtils {
Map
<
String
,
Object
>
resultMap
=
dealHeadMap
(
headMap
);
Map
<
String
,
Object
>
resultMap
=
dealHeadMap
(
headMap
);
resultMap
.
put
(
"sheetName"
,
sheetName
);
resultMap
.
put
(
"sheetName"
,
sheetName
);
return
resultMap
;
}
// 大王卡证件稽核清单导出excel表头s
public
static
Map
<
String
,
Object
>
studentCertExcel
(
String
sheetName
){
Map
<
String
,
Object
>
headMap
=
new
LinkedHashMap
<
String
,
Object
>();
headMap
.
put
(
"姓名"
,
"userName"
);
headMap
.
put
(
"办理号码"
,
"orderPhone"
);
headMap
.
put
(
"联系号码"
,
"linkPhone"
);
headMap
.
put
(
"审核人姓名"
,
"auditName"
);
headMap
.
put
(
"审核时间"
,
"auditDate"
);
headMap
.
put
(
"是否通过审核"
,
"auditState"
);
headMap
.
put
(
"上传时间"
,
"uploadDate"
);
headMap
.
put
(
"代理商"
,
"agentBusinessman"
);
Map
<
String
,
Object
>
resultMap
=
dealHeadMap
(
headMap
);
resultMap
.
put
(
"sheetName"
,
sheetName
);
return
resultMap
;
}
// 学生不限量证件清单导出excel表头s
public
static
Map
<
String
,
Object
>
studentCardExcel
(
String
sheetName
){
Map
<
String
,
Object
>
headMap
=
new
LinkedHashMap
<
String
,
Object
>();
headMap
.
put
(
"姓名"
,
"userName"
);
headMap
.
put
(
"办理号码"
,
"orderPhone"
);
headMap
.
put
(
"联系号码"
,
"linkPhone"
);
headMap
.
put
(
"审核人姓名"
,
"auditName"
);
headMap
.
put
(
"审核时间"
,
"auditDate"
);
headMap
.
put
(
"是否通过审核"
,
"auditState"
);
headMap
.
put
(
"县分"
,
"county"
);
headMap
.
put
(
"学校"
,
"school"
);
headMap
.
put
(
"办理号码是否新49"
,
"isComboMoney49"
);
headMap
.
put
(
"是否已上传学生证照片、学校等必填信息"
,
"isFull"
);
headMap
.
put
(
"学生证照片是否清晰"
,
"isClear"
);
headMap
.
put
(
"学生年龄是否25岁及以下"
,
"isUnderYears"
);
headMap
.
put
(
"号码被实名人员与上传学生证用户是否一致"
,
"isStudentAccordance"
);
headMap
.
put
(
"学生证所属学校与号码所属学校是否一致"
,
"isSchoolAccordance"
);
headMap
.
put
(
"资料上传时间是否早于CRM系统激活时间"
,
"isUploadBeforeActivate"
);
headMap
.
put
(
"上传时间"
,
"uploadDate"
);
headMap
.
put
(
"crm激活时间"
,
"crnActivateDate"
);
headMap
.
put
(
"是否首次上传"
,
"isFirstUpload"
);
headMap
.
put
(
"代理商"
,
"agentBusinessman"
);
Map
<
String
,
Object
>
resultMap
=
dealHeadMap
(
headMap
);
resultMap
.
put
(
"sheetName"
,
sheetName
);
return
resultMap
;
return
resultMap
;
}
}
...
...
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