Commit 79c8d650 authored by huyuchen's avatar huyuchen

huych-入职登记提交

parent 841d5a7a
...@@ -26,7 +26,7 @@ public class EmployeeRegistrationPre extends BaseEntity { ...@@ -26,7 +26,7 @@ public class EmployeeRegistrationPre extends BaseEntity {
*/ */
@TableId(type = IdType.ASSIGN_ID) @TableId(type = IdType.ASSIGN_ID)
@Schema(description = "主键ID") @Schema(description = "主键ID")
private String id; private Integer id;
@Schema(description = "员工姓名") @Schema(description = "员工姓名")
private String employeeName; private String employeeName;
......
...@@ -58,6 +58,14 @@ public class TRegistWarningEmployee extends BaseEntity { ...@@ -58,6 +58,14 @@ public class TRegistWarningEmployee extends BaseEntity {
@ExcelProperty("身份证") @ExcelProperty("身份证")
@Schema(description = "身份证") @Schema(description = "身份证")
private String empIdcard; private String empIdcard;
/**
* 项目id
*/
@ExcelAttribute(name = "项目id", maxLength = 50)
@Length(max = 50, message = "项目id不能超过50个字符")
@ExcelProperty("项目id")
@Schema(description = "项目id")
private String deptId;
/** /**
* 联系方式 * 联系方式
*/ */
...@@ -97,4 +105,7 @@ public class TRegistWarningEmployee extends BaseEntity { ...@@ -97,4 +105,7 @@ public class TRegistWarningEmployee extends BaseEntity {
@Schema(description = "短信回执内容") @Schema(description = "短信回执内容")
private String message; private String message;
@Schema(description = "类型 1 待建档 2 带完整")
private String type;
} }
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import lombok.Data;
import java.io.Serializable;
/**
* @Author hgw
* @Date 2022-10-21 09:50:08
* @Description 通用Vo
* @Version 1.0
*/
@Data
public class EmployeeInfoMsgVo implements Serializable {
private String deptId;
private String name;
private String card;
private String phone;
}
package com.yifu.cloud.plus.v1.yifu.archives.vo; package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants;
...@@ -45,9 +46,10 @@ public class EmployeeRegistrationProjectListVo implements Serializable { ...@@ -45,9 +46,10 @@ public class EmployeeRegistrationProjectListVo implements Serializable {
@ExcelProperty("手机号码") @ExcelProperty("手机号码")
private String empPhone; private String empPhone;
@ExcelAttribute(name = "入职日期", isDate = true) @ExcelAttribute(name = "入职日期")
@Schema(description = "入职日期") @Schema(description = "入职日期")
@ExcelProperty("入职日期") @ExcelProperty("入职日期")
@DateTimeFormat("yyyy-MM-dd")
private Date joinLeaveDate; private Date joinLeaveDate;
@ExcelAttribute(name = "员工类型", isDataId = true, dataType = ExcelAttributeConstants.EMP_NATRUE) @ExcelAttribute(name = "员工类型", isDataId = true, dataType = ExcelAttributeConstants.EMP_NATRUE)
......
...@@ -13,7 +13,7 @@ import java.io.Serializable; ...@@ -13,7 +13,7 @@ import java.io.Serializable;
@Data @Data
public class SendMessageUpdateVo implements Serializable { public class SendMessageUpdateVo implements Serializable {
// 签名 // 签名
private String id; private Integer id;
//项目编码 //项目编码
private String deptNo; private String deptNo;
} }
...@@ -167,7 +167,20 @@ public class EmployeeRegistrationPreController { ...@@ -167,7 +167,20 @@ public class EmployeeRegistrationPreController {
@Operation(summary = "批量发送入职信息收集短信", description = "批量发送入职信息收集短信") @Operation(summary = "批量发送入职信息收集短信", description = "批量发送入职信息收集短信")
@SysLog("批量发送入职信息收集短信" ) @SysLog("批量发送入职信息收集短信" )
@PostMapping("/batchSms") @PostMapping("/batchSms")
public R batchSendMessage(@RequestBody List<SendMessageUpdateVo> vo,String type) { public R batchSendMessage(@RequestBody List<SendMessageUpdateVo> vo,@RequestParam String type) {
return employeeRegistrationPreService.batchSendMessage(vo, type); return employeeRegistrationPreService.batchSendMessage(vo, type);
} }
/**
* 查询身份信息
*
* @author huych
* @date 2025-03-13 16:55:32
**/
@Operation(summary = "查询身份信息")
@SysLog("查询身份信息")
@PostMapping("/getEmployeeInfo")
public R getEmployeeInfo(@RequestBody String id) {
return employeeRegistrationPreService.getEmployeeInfo(id);
}
} }
...@@ -4,10 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -4,10 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.EmployeeRegistrationPre; import com.yifu.cloud.plus.v1.yifu.archives.entity.EmployeeRegistrationPre;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeRegistrationPreExportVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.*;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeRegistrationPreInfoExportVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeRegistrationPreSearchVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.MessageTempleteVo;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
...@@ -48,4 +45,6 @@ public interface EmployeeRegistrationPreMapper extends BaseMapper<EmployeeRegist ...@@ -48,4 +45,6 @@ public interface EmployeeRegistrationPreMapper extends BaseMapper<EmployeeRegist
List<EmployeeRegistrationPreInfoExportVo> selectConfirmExportList(@Param("employeeRegistrationPre") EmployeeRegistrationPreSearchVo searchVo); List<EmployeeRegistrationPreInfoExportVo> selectConfirmExportList(@Param("employeeRegistrationPre") EmployeeRegistrationPreSearchVo searchVo);
MessageTempleteVo selectTempleteVo(@Param("id") String id); MessageTempleteVo selectTempleteVo(@Param("id") String id);
EmployeeInfoMsgVo getEmployeeArchivesInfo(@Param("id") String id);
} }
...@@ -84,4 +84,8 @@ public interface EmployeeRegistrationPreService extends IService<EmployeeRegistr ...@@ -84,4 +84,8 @@ public interface EmployeeRegistrationPreService extends IService<EmployeeRegistr
R batchSendMessage(List<SendMessageUpdateVo> vo, String type); R batchSendMessage(List<SendMessageUpdateVo> vo, String type);
void updatePreStatusToEnd(String deptNo, String empIdcard); void updatePreStatusToEnd(String deptNo, String empIdcard);
R getEmployeeInfo(String cardOrId);
} }
...@@ -6,5 +6,5 @@ public interface ScheduleService { ...@@ -6,5 +6,5 @@ public interface ScheduleService {
void scheduleTask(EmployeeRegistrationPre record); void scheduleTask(EmployeeRegistrationPre record);
void executeTask(String aId); void executeTask(Integer aId);
} }
...@@ -219,8 +219,17 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -219,8 +219,17 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
@Override @Override
public Boolean saveRegistPreInfo(EmployeeRegistrationPreVo preVo) { public Boolean saveRegistPreInfo(EmployeeRegistrationPreVo preVo) {
//判断是否存在入职确认信息
EmployeeRegistrationPre preExit = baseMapper.selectOne(Wrappers.<EmployeeRegistrationPre>query().lambda()
.eq(EmployeeRegistrationPre::getEmpIdcard, preVo.getEmpIdcard())
.eq(EmployeeRegistrationPre::getDeptNo, preVo.getDeptNo())
.last(CommonConstants.LAST_ONE_SQL));
EmployeeRegistrationPre pre = new EmployeeRegistrationPre(); EmployeeRegistrationPre pre = new EmployeeRegistrationPre();
if (Common.isNotNull(preExit)) {
pre.setId(pre.getId());
baseMapper.deleteById(pre);
}
BeanUtils.copyProperties(preVo,pre); BeanUtils.copyProperties(preVo,pre);
if (Common.isNotNull(preVo.getExpectedCollectionTime())) { if (Common.isNotNull(preVo.getExpectedCollectionTime())) {
pre.setExpectedCollectionTime(LocalDateTimeUtils.dateToLocalDateTime(preVo.getExpectedCollectionTime())); pre.setExpectedCollectionTime(LocalDateTimeUtils.dateToLocalDateTime(preVo.getExpectedCollectionTime()));
...@@ -333,7 +342,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -333,7 +342,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
employeeRegistrationPre.setContractType(contractItemAfter); employeeRegistrationPre.setContractType(contractItemAfter);
} }
tEmployeeLogService.saveModificationRecord(CommonConstants.dingleDigitIntArray[4], tEmployeeLogService.saveModificationRecord(CommonConstants.dingleDigitIntArray[4],
employeeRegistrationPre.getId(), "", comparePre, employeeRegistrationPre,user); employeeRegistrationPre.getId().toString(), "", comparePre, employeeRegistrationPre,user);
} catch (Exception e) { } catch (Exception e) {
log.error("生成入职待确认信息修改操作日志异常", e); log.error("生成入职待确认信息修改操作日志异常", e);
} }
...@@ -378,8 +387,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -378,8 +387,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
public R batchSendMessage(List<SendMessageUpdateVo> voList,String type) { public R batchSendMessage(List<SendMessageUpdateVo> voList,String type) {
//获取短信待发放和信息待填写的数据 //获取短信待发放和信息待填写的数据
RegistParamVo paramVo = new RegistParamVo(); RegistParamVo paramVo = new RegistParamVo();
List<TRegistWarningEmployee> smsEmployeeList = new ArrayList<>();
List<EmployeeRegistrationPre> updateList = new ArrayList<>();
List<RegistParamVo> params = new ArrayList<>(); List<RegistParamVo> params = new ArrayList<>();
List<String> phones = new ArrayList<>(); List<String> phones = new ArrayList<>();
if (CommonConstants.ONE_STRING.equals(type)) { if (CommonConstants.ONE_STRING.equals(type)) {
...@@ -389,8 +396,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -389,8 +396,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
.in(EmployeeRegistrationPre::getProcessStatus, CommonConstants.processStatus)); .in(EmployeeRegistrationPre::getProcessStatus, CommonConstants.processStatus));
if (Common.isNotNull(updatePre)) { if (Common.isNotNull(updatePre)) {
paramVo.setName(updatePre.getEmployeeName()); paramVo.setName(updatePre.getEmployeeName());
paramVo.setLinkValue("additional.html#/quick-onboarding?" + "?empId=" + updatePre.getId());
params.add(paramVo);
phones.add(updatePre.getEmpPhone()); phones.add(updatePre.getEmpPhone());
if (CommonConstants.ZERO_STRING.equals(updatePre.getProcessStatus())) { if (CommonConstants.ZERO_STRING.equals(updatePre.getProcessStatus())) {
updatePre.setProcessStatus(CommonConstants.ONE_STRING); updatePre.setProcessStatus(CommonConstants.ONE_STRING);
...@@ -399,10 +404,27 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -399,10 +404,27 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
TRegistWarningEmployee smsEmployee = new TRegistWarningEmployee(); TRegistWarningEmployee smsEmployee = new TRegistWarningEmployee();
smsEmployee.setEmpName(updatePre.getEmployeeName()); smsEmployee.setEmpName(updatePre.getEmployeeName());
smsEmployee.setEmpPhone(updatePre.getEmpPhone()); smsEmployee.setEmpPhone(updatePre.getEmpPhone());
smsEmployee.setEmpIdcard(updatePre.getEmpIdcard());
smsEmployee.setSendDate(DateUtil.getCurrentDateTime()); smsEmployee.setSendDate(DateUtil.getCurrentDateTime());
smsEmployee.setSendMethod(CommonConstants.ONE_INT); smsEmployee.setSendMethod(CommonConstants.ONE_INT);
smsEmployeeList.add(smsEmployee); smsEmployee.setWarningId(updatePre.getId().toString());
updateList.add(updatePre); smsEmployee.setType(CommonConstants.ONE_STRING);
smsEmployee.setDeptId(CommonConstants.ONE_STRING);
employeeService.save(smsEmployee);
paramVo.setLink(smsEmployee.getId().toString());
params.add(paramVo);
AliSmsResult res = sendMessage(phones, params);
if (null != res && null != res.getBizId()) {
smsEmployee.setBizId(res.getBizId());
smsEmployee.setMessage(res.getMessage());
employeeService.updateById(smsEmployee);
this.updateById(updatePre);
return R.ok();
} else {
smsEmployee.setMessage("短信发送失败");
employeeService.updateById(smsEmployee);
return R.failed("短信发送失败");
}
} }
} }
} else { } else {
...@@ -410,7 +432,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -410,7 +432,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
TEmployeeInfo info = employeeInfoMapper.selectById(updateVo.getId()); TEmployeeInfo info = employeeInfoMapper.selectById(updateVo.getId());
if (Common.isNotNull(info)) { if (Common.isNotNull(info)) {
paramVo.setName(info.getEmpName()); paramVo.setName(info.getEmpName());
paramVo.setLinkValue("additional.html#/quick-onboarding?" + "?empId=" + info.getId()); paramVo.setLink(info.getEmpIdcard().substring(10));
params.add(paramVo); params.add(paramVo);
phones.add(info.getEmpPhone()); phones.add(info.getEmpPhone());
//如果有入职待建档数据同步更新 //如果有入职待建档数据同步更新
...@@ -422,38 +444,34 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -422,38 +444,34 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
if (Common.isNotNull(registrationPre)) { if (Common.isNotNull(registrationPre)) {
registrationPre.setProcessStatus(CommonConstants.ONE_STRING); registrationPre.setProcessStatus(CommonConstants.ONE_STRING);
} }
updateList.add(registrationPre);
//生成短信发送的记录 //生成短信发送的记录
TRegistWarningEmployee smsEmployee = new TRegistWarningEmployee(); TRegistWarningEmployee smsEmployee = new TRegistWarningEmployee();
smsEmployee.setEmpName(info.getEmpName()); smsEmployee.setEmpName(info.getEmpName());
smsEmployee.setEmpPhone(info.getEmpPhone()); smsEmployee.setEmpPhone(info.getEmpPhone());
smsEmployee.setSendDate(DateUtil.getCurrentDateTime()); smsEmployee.setSendDate(DateUtil.getCurrentDateTime());
smsEmployee.setSendMethod(CommonConstants.ONE_INT); smsEmployee.setSendMethod(CommonConstants.ONE_INT);
smsEmployeeList.add(smsEmployee); smsEmployee.setEmpIdcard(info.getEmpIdcard());
} smsEmployee.setWarningId(info.getId());
} smsEmployee.setType(CommonConstants.TWO_STRING);
} employeeService.save(smsEmployee);
//发送短信 paramVo.setLink(smsEmployee.getId().toString());
if (!params.isEmpty()) { params.add(paramVo);
AliSmsResult res = sendMessage(phones, params); AliSmsResult res = sendMessage(phones, params);
if (null != res && null != res.getBizId()) { if (null != res && null != res.getBizId()) {
if (!updateList.isEmpty()) { smsEmployee.setBizId(res.getBizId());
this.updateBatchById(updateList); smsEmployee.setMessage(res.getMessage());
} employeeService.updateById(smsEmployee);
for (TRegistWarningEmployee employee : smsEmployeeList) { this.updateById(registrationPre);
employee.setBizId(res.getBizId()); return R.ok();
employee.setMessage(res.getMessage()); } else {
} smsEmployee.setMessage("短信发送失败");
employeeService.saveBatch(smsEmployeeList); employeeService.updateById(smsEmployee);
return R.ok(); return R.failed("短信发送失败");
} else { }
for (TRegistWarningEmployee employee : smsEmployeeList) {
employee.setMessage("短信发送失败");
} }
employeeService.saveBatch(smsEmployeeList);
} }
} }
return R.failed(); return R.ok();
} }
@Override @Override
...@@ -469,6 +487,13 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -469,6 +487,13 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
} }
} }
@Override
public R getEmployeeInfo(String id) {
//获取人员档案id
EmployeeInfoMsgVo msgInfoVo = baseMapper.getEmployeeArchivesInfo(id);
return R.ok(msgInfoVo);
}
/** /**
* @Description: 获取前端客服的所有项目权限 * @Description: 获取前端客服的所有项目权限
* @Author: huych * @Author: huych
...@@ -490,7 +515,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -490,7 +515,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
if (null != deptNos && !deptNos.isEmpty()) { if (null != deptNos && !deptNos.isEmpty()) {
searchVo.setDeptNoList(deptNos); searchVo.setDeptNoList(deptNos);
} else { } else {
searchVo.setId(CommonConstants.ONE_STRING_NEGATE); searchVo.setId(CommonConstants.ONE_INT_NEGATE);
} }
} }
} }
......
...@@ -36,7 +36,7 @@ public class ScheduleServiceImpl implements ScheduleService { ...@@ -36,7 +36,7 @@ public class ScheduleServiceImpl implements ScheduleService {
// 执行发送短信操作(事务内处理) // 执行发送短信操作(事务内处理)
@Override @Override
public void executeTask(String aId) { public void executeTask(Integer aId) {
transactionTemplate.execute(status -> { transactionTemplate.execute(status -> {
List<SendMessageUpdateVo> voList = new ArrayList<>(); List<SendMessageUpdateVo> voList = new ArrayList<>();
SendMessageUpdateVo updateVo = new SendMessageUpdateVo(); SendMessageUpdateVo updateVo = new SendMessageUpdateVo();
......
...@@ -1003,7 +1003,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap ...@@ -1003,7 +1003,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
if (null != deptNos && !deptNos.isEmpty()) { if (null != deptNos && !deptNos.isEmpty()) {
searchVo.setDeptNoList(deptNos); searchVo.setDeptNoList(deptNos);
} else { } else {
searchVo.setId(CommonConstants.ONE_STRING_NEGATE); searchVo.setId(CommonConstants.ONE_INT_NEGATE);
} }
} }
} }
......
...@@ -75,6 +75,13 @@ ...@@ -75,6 +75,13 @@
<result property="templeteCode" column="model_code"/> <result property="templeteCode" column="model_code"/>
</resultMap> </resultMap>
<resultMap id="getEmployeeInfoMap" type="com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeInfoMsgVo">
<result property="deptId" column="deptId"/>
<result property="name" column="name"/>
<result property="card" column="card"/>
<result property="phone" column="phone"/>
</resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.id, a.id,
a.employee_name, a.employee_name,
...@@ -268,4 +275,14 @@ ...@@ -268,4 +275,14 @@
from t_message_templete a from t_message_templete a
where id = #{id} where id = #{id}
</select> </select>
<select id="getEmployeeArchivesInfo" resultMap="getEmployeeInfoMap">
SELECT
a.emp_idcard as card,
a.emp_phone as phone,
a.dept_id as deptId,
a.emp_name as name
from t_regist_warning_employee a
where a.id = #{id}
</select>
</mapper> </mapper>
...@@ -169,7 +169,8 @@ ...@@ -169,7 +169,8 @@
a.DEPT_NAME as dept_name, a.DEPT_NAME as dept_name,
a.DEPT_NO as dept_no, a.DEPT_NO as dept_no,
a.CONTRACT_TYPE as contract_type, a.CONTRACT_TYPE as contract_type,
a.UNCOMPLETE_TYPE as type, if(ifnull(CONTRACT_TYPE,-1) != -1 and ifnull(WORKING_HOURS,-1) != -1
and ifnull(POST,-1) != -1 and ifnull(ENJOIN_DATE,-1) != -1 and ifnull(TRY_PERIOD,-1) != -1,'基本信息','合同信息') as type,
'1' as process_status, '1' as process_status,
a.ENJOIN_DATE as join_leave_date, a.ENJOIN_DATE as join_leave_date,
a.PROJECT_SOURCE as data_source, a.PROJECT_SOURCE as data_source,
...@@ -209,7 +210,8 @@ ...@@ -209,7 +210,8 @@
a.DEPT_NAME as dept_name, a.DEPT_NAME as dept_name,
a.DEPT_NO as dept_no, a.DEPT_NO as dept_no,
a.CONTRACT_TYPE as contract_type, a.CONTRACT_TYPE as contract_type,
if(a.UNCOMPLETE_TYPE = '1','基本信息',if(a.UNCOMPLETE_TYPE = '2','合同信息','基本信息、合同信息')) as type, if(ifnull(CONTRACT_TYPE,-1) != -1 and ifnull(WORKING_HOURS,-1) != -1
and ifnull(POST,-1) != -1 and ifnull(ENJOIN_DATE,-1) != -1 and ifnull(TRY_PERIOD,-1) != -1,'基本信息','合同信息') as type,
'待完善' as process_status, '待完善' as process_status,
DATE_FORMAT(a.ENJOIN_DATE, '%Y-%m-%d') as join_leave_date, DATE_FORMAT(a.ENJOIN_DATE, '%Y-%m-%d') as join_leave_date,
CASE WHEN a.PROJECT_SOURCE='1' THEN "社保/公积金" CASE WHEN a.PROJECT_SOURCE='1' THEN "社保/公积金"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<result property="bizId" column="biz_id"/> <result property="bizId" column="biz_id"/>
<result property="sendMethod" column="send_method"/> <result property="sendMethod" column="send_method"/>
<result property="message" column="message"/> <result property="message" column="message"/>
<result property="type" column="type"/>
<result property="createBy" column="create_by"/> <result property="createBy" column="create_by"/>
<result property="createName" column="create_name"/> <result property="createName" column="create_name"/>
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
......
...@@ -11,5 +11,5 @@ import lombok.Data; ...@@ -11,5 +11,5 @@ import lombok.Data;
@Data @Data
public class RegistParamVo { public class RegistParamVo {
private String name; private String name;
private String linkValue; private String link;
} }
...@@ -24,8 +24,8 @@ import java.util.Map; ...@@ -24,8 +24,8 @@ import java.util.Map;
@Slf4j @Slf4j
public class YiFuSmsUtil { public class YiFuSmsUtil {
private static final String ACCESS_KEY_ID = "LTAIDh9goA3jgpun"; private static final String ACCESS_KEY_ID = "LTAI5t7p866qHr6p1Kuog7b1";
private static final String ACCESS_KEY_SECRET = "eN8EHPAZxglNfcUCMhAT02cy93omLa"; private static final String ACCESS_KEY_SECRET = "tMxJt1TWtHZr9bOpe1hk7PHRg0xrmf";
private static final String ERROR_INFO = "调取阿里云服务异常"; private static final String ERROR_INFO = "调取阿里云服务异常";
private static final String REGIONID = "cn-hangzhou"; private static final String REGIONID = "cn-hangzhou";
private static final String SYS_DOMAIN = "dysmsapi.aliyuncs.com"; private static final String SYS_DOMAIN = "dysmsapi.aliyuncs.com";
......
...@@ -301,11 +301,11 @@ ...@@ -301,11 +301,11 @@
a.emp_phone, a.emp_phone,
a.position, a.position,
a.join_leave_date, a.join_leave_date,
if(a.process_status= '0','已接收',if(a.process_status= '1','待处理',if(a.process_status= '2','已处理','拒绝入职'))) process_status, '待处理' process_status,
a.registor_username, a.registor_username,
a.create_time, a.create_time,
a.customer_username_new, a.customer_username_new,
a.data_source if(a.data_source = '1','客户端','客服端') data_source
FROM employee_registration a FROM employee_registration a
<where> <where>
1=1 1=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment