| | |
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import java.util.ArrayList;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | @Service("PreventRiskDangerCheckLogService")
|
| | |
| | | public int updateCheckLog(Long checkId, Long mobileCode) {
|
| | | return preventRiskDangerCheckLogRepository.updateCheckLog(checkId, mobileCode);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int updateTaskReportStatusByList(List<Long> taskIds) {
|
| | | List<Long> ids = new ArrayList<>();
|
| | | Byte reportStatus = 1;
|
| | | Date reportTime = new Date();
|
| | | return preventRiskDangerCheckLogRepository.updateTaskReportStatusByList(taskIds, reportStatus, reportTime);
|
| | | }
|
| | | }
|