补卡判断的bug
This commit is contained in:
parent
29e5b8e475
commit
0efa0e30f2
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue