|
|
|
@ -105,8 +105,6 @@ public class ZhongkongTestController {
|
|
|
|
StaffResponse staffResponse = LoginInterceptor.getCurrentUserInfo();
|
|
|
|
StaffResponse staffResponse = LoginInterceptor.getCurrentUserInfo();
|
|
|
|
LoginInterceptor.clearThreadLocal();
|
|
|
|
LoginInterceptor.clearThreadLocal();
|
|
|
|
for (StaffTemporary temporary : staffTemporaryList) {
|
|
|
|
for (StaffTemporary temporary : staffTemporaryList) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (temporary.getIsZhongkong()==1){
|
|
|
|
// if (temporary.getIsZhongkong()==1){
|
|
|
|
temporary.setIsZhongkong(1);
|
|
|
|
temporary.setIsZhongkong(1);
|
|
|
|
temporary.setSendZhongkongId(staffResponse.getId());
|
|
|
|
temporary.setSendZhongkongId(staffResponse.getId());
|
|
|
|
@ -114,17 +112,13 @@ public class ZhongkongTestController {
|
|
|
|
if (temporary.getZhongTime()!=null) {
|
|
|
|
if (temporary.getZhongTime()!=null) {
|
|
|
|
temporary.setSendZhongkongTime(temporary.getZhongTime());
|
|
|
|
temporary.setSendZhongkongTime(temporary.getZhongTime());
|
|
|
|
}else temporary.setSendZhongkongTime(new Date());
|
|
|
|
}else temporary.setSendZhongkongTime(new Date());
|
|
|
|
|
|
|
|
|
|
|
|
temporary.setZhongkongDimission(0);
|
|
|
|
temporary.setZhongkongDimission(0);
|
|
|
|
temporary.setZhongkongDimissionDate(null);
|
|
|
|
temporary.setZhongkongDimissionDate(null);
|
|
|
|
|
|
|
|
temporary.setFacesInformation(null);
|
|
|
|
staffTemporaryDao.updateByPrimaryKeySelective(temporary);
|
|
|
|
staffTemporaryDao.updateByPrimaryKeySelective(temporary);
|
|
|
|
BlackList blackList = new BlackList();
|
|
|
|
BlackList blackList = new BlackList();
|
|
|
|
Example blackExample = new Example(BlackList.class);
|
|
|
|
Example blackExample = new Example(BlackList.class);
|
|
|
|
blackExample.selectProperties("urgentName","urgentPhone","urgentRelationship","id","beisenUserId",
|
|
|
|
blackExample.selectProperties("id","isZhongkong");
|
|
|
|
"email","sex","staffNum","staffName","mobilePhone","identityCard","storeId","inputId",
|
|
|
|
|
|
|
|
"inputName","inputDate","type","job","regionId","endType","endId","endName","endTime",
|
|
|
|
|
|
|
|
"updateTime","employeeInformationId","employmentRecordId","isBeisen","isZhongkong",
|
|
|
|
|
|
|
|
"blacklistReasons");
|
|
|
|
|
|
|
|
blackExample.createCriteria().andEqualTo(BlackListDto.Fields.identityCard, temporary.getIdentityCard());
|
|
|
|
blackExample.createCriteria().andEqualTo(BlackListDto.Fields.identityCard, temporary.getIdentityCard());
|
|
|
|
blackList = blackListDao.selectByExample(blackExample).get(0);
|
|
|
|
blackList = blackListDao.selectByExample(blackExample).get(0);
|
|
|
|
// BlackList blackList = new BlackList();
|
|
|
|
// BlackList blackList = new BlackList();
|
|
|
|
|