This commit is contained in:
parent
bf461d7880
commit
0b1e0ebda1
Binary file not shown.
|
@ -11,6 +11,9 @@ import lombok.EqualsAndHashCode;
|
||||||
@TableName("t_lc_places")
|
@TableName("t_lc_places")
|
||||||
public class Places extends BaseEntity {
|
public class Places extends BaseEntity {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "企业id")
|
||||||
|
private String companyId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "登记id")
|
@ApiModelProperty(value = "登记id")
|
||||||
private String organizationId;
|
private String organizationId;
|
||||||
|
|
||||||
|
|
|
@ -311,17 +311,24 @@ public class AuditServiceImpl extends BaseService<AuditMapper, Audit> implements
|
||||||
organization.setLastInstance(auditRequest.getAuditOpinion());
|
organization.setLastInstance(auditRequest.getAuditOpinion());
|
||||||
organizationMapper.updateById(organization);
|
organizationMapper.updateById(organization);
|
||||||
}
|
}
|
||||||
List<Recruitment> recruitments = recruitmentMapper.selectList(Wrappers.lambdaQuery(Recruitment.class).eq(Recruitment::getCompanyId, organization.getId()));
|
// 生成单号
|
||||||
List<Long> list = recruitments.stream().map(Recruitment::getPlaces).collect(Collectors.toList());
|
Places places = new Places();
|
||||||
for (Long aLong : list) {
|
places.setStatus(Boolean.FALSE);
|
||||||
for (int i = 0; i < aLong.intValue(); i++) {
|
places.setCompanyId(organization.getCompanyId());
|
||||||
Places places = new Places();
|
places.setOrganizationId(organization.getId());
|
||||||
places.setStatus(Boolean.FALSE);
|
places.setOdd(DateUtil.format(DateUtil.date(), "yyyyMMddHHmmss" + getNextId()));
|
||||||
places.setOrganizationId(organization.getId());
|
placesMapper.insert(places);
|
||||||
places.setOdd(DateUtil.format(DateUtil.date(), "yyyyMMddHHmmss" + getNextId()));
|
// List<Recruitment> recruitments = recruitmentMapper.selectList(Wrappers.lambdaQuery(Recruitment.class).eq(Recruitment::getCompanyId, organization.getId()));
|
||||||
placesMapper.insert(places);
|
// List<Long> list = recruitments.stream().map(Recruitment::getPlaces).collect(Collectors.toList());
|
||||||
}
|
// for (Long aLong : list) {
|
||||||
}
|
// for (int i = 0; i < aLong.intValue(); i++) {
|
||||||
|
// Places places = new Places();
|
||||||
|
// places.setStatus(Boolean.FALSE);
|
||||||
|
// places.setOrganizationId(organization.getId());
|
||||||
|
// places.setOdd(DateUtil.format(DateUtil.date(), "yyyyMMddHHmmss" + getNextId()));
|
||||||
|
// placesMapper.insert(places);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
WorkFlowNotice workFlowNotice = new WorkFlowNotice();
|
WorkFlowNotice workFlowNotice = new WorkFlowNotice();
|
||||||
workFlowNotice.setStatus(Boolean.FALSE);
|
workFlowNotice.setStatus(Boolean.FALSE);
|
||||||
workFlowNotice.setFlowType(ArgsConst.ORGANIZATION);
|
workFlowNotice.setFlowType(ArgsConst.ORGANIZATION);
|
||||||
|
|
|
@ -16,7 +16,7 @@ spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
url: jdbc:mysql://127.0.0.1:3306/lc_oa?useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://192.168.2.24:3306/lc_oa?useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: root
|
||||||
password: Wang09211108
|
password: Wang09211108
|
||||||
druid:
|
druid:
|
||||||
|
|
Loading…
Reference in New Issue