补卡判断的bug

This commit is contained in:
方亮 2025-10-15 16:30:08 +08:00
parent 29e5b8e475
commit 0efa0e30f2
2 changed files with 1 additions and 2 deletions

View File

@ -134,7 +134,6 @@ public class RepairCardApplyController extends BaseController {
@GetMapping("/getCheckRecord") @GetMapping("/getCheckRecord")
public AjaxResult getCheckRecord(CheckRecordDto checkRecordDto) { public AjaxResult getCheckRecord(CheckRecordDto checkRecordDto) {
try { try {
startPage();
Map<String, CheckRecordDto> map = repairCardApplyMapper.getCheckRecord(checkRecordDto); Map<String, CheckRecordDto> map = repairCardApplyMapper.getCheckRecord(checkRecordDto);
return AjaxResult.success(map); return AjaxResult.success(map);
} catch (Exception e) { } catch (Exception e) {

View File

@ -274,7 +274,7 @@
FROM FROM
bm_att_person bm_att_person
WHERE WHERE
is_active = 1 AND att_day BETWEEN #{startTime} and #{endTime} is_active = 1 AND att_day BETWEEN #{startTime} and #{endTime} and worker_id = #{workerId}
</select> </select>
<select id="getCardStatistics" resultType="com.bonus.bmw.domain.dto.CardStatisticsDto"> <select id="getCardStatistics" resultType="com.bonus.bmw.domain.dto.CardStatisticsDto">
SELECT SELECT