消息,确认进场

This commit is contained in:
zt
2025-03-20 09:32:34 +08:00
parent 6553cc2b59
commit 7ce41a73f6
11 changed files with 212 additions and 8 deletions

View File

@ -296,7 +296,7 @@ public class WgzDailyClockServiceImpl extends ServicePlusImpl<WgzDailyClockMappe
setTableId(dc.getId()).
setTableName(SqlHelper.table(WgzDailyClock.class).getTableName()).
setMessageLargeType(BGT_LARGE_OTHER).
setMessageSmallType(BGT_SMALL_REPORT_MAKE_UP);
setMessageSmallType(BGT_SMALL_REPORT_MAKE_UP).setIsOperation(OPERATION_NEED);
if (!iBgtMessageService.sendAMessage(bgtMessage)){
throw new RuntimeException("发送日报补卡消息失败!");
}
@ -336,10 +336,10 @@ public class WgzDailyClockServiceImpl extends ServicePlusImpl<WgzDailyClockMappe
Page<BgtDailyClockListDTO> queryDTOPage = new Page<>();
queryDTOPage.setCurrent(dto.getPageNum());
queryDTOPage.setSize(dto.getPageSize());
if( "5".equals(dto.getAuditorType()) ){
if( AuditStatus.READ.getCode().equals(dto.getAuditorType()) ){
dto.setIsRead(true);
}
if( "1".equals(dto.getAuditorType()) ){
if( AuditStatus.AUDIT.getCode().equals(dto.getAuditorType()) ){
dto.setIsAudit(true);
}

View File

@ -215,7 +215,7 @@ public class WgzLeaveServiceImpl extends ServicePlusImpl<WgzLeaveMapper, WgzLeav
setTableId(wgzLeave.getId()).
setTableName(SqlHelper.table(WgzLeave.class).getTableName()).
setMessageLargeType(BGT_LARGE_OTHER).
setMessageSmallType(BGT_SMALL_LEAVE);
setMessageSmallType(BGT_SMALL_LEAVE).setIsOperation(OPERATION_NEED);
if (!iBgtMessageService.sendAMessage(bgtMessage)) {
throw new RuntimeException("发送请假申请消息失败!");
}

View File

@ -40,7 +40,6 @@ import com.ruoyi.wgz.domain.*;
import com.ruoyi.wgz.mapper.WgzPayCalculationMapper;
import com.ruoyi.wgz.service.*;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -270,7 +269,7 @@ public class WgzPayCalculationServiceImpl extends ServicePlusImpl<WgzPayCalculat
setTableId(wgzPayCalculation.getId()).
setTableName(SqlHelper.table(WgzPayCalculation.class).getTableName()).
setMessageLargeType(BGT_LARGE_OTHER).
setMessageSmallType(BGT_SMALL_PAY);
setMessageSmallType(BGT_SMALL_PAY).setIsOperation(OPERATION_NEED);
if (!iBgtMessageService.sendAMessage(bgtMessage)){
throw new RuntimeException("发送补卡消息失败!");
}

View File

@ -211,7 +211,7 @@ public class WgzReissueacardServiceImpl extends ServicePlusImpl<WgzReissueacardM
setTableId(wgzReissueacard.getId()).
setTableName(SqlHelper.table(WgzReissueacard.class).getTableName()).
setMessageLargeType(BGT_LARGE_OTHER).
setMessageSmallType(BGT_SMALL_MAKE_UP);
setMessageSmallType(BGT_SMALL_MAKE_UP).setIsOperation(OPERATION_NEED);
if (!iBgtMessageService.sendAMessage(bgtMessage)) {
throw new RuntimeException("发送补卡消息失败!");
}