| | |
| | | import cn.gistack.sm.patrol.entity.PatrolConfig; |
| | | import cn.gistack.sm.patrol.entity.PatrolReport; |
| | | import cn.gistack.sm.patrol.mapper.PatrolReportMapper; |
| | | import cn.gistack.sm.patrol.service.IPatrolRecordService; |
| | | import cn.gistack.sm.patrol.service.IPatrolReportService; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | @AllArgsConstructor |
| | | public class PatrolReportServiceImpl extends BaseServiceImpl<PatrolReportMapper, PatrolReport> implements IPatrolReportService { |
| | | private final IPatrolRecordService patrolRecordService; |
| | | |
| | | @Override |
| | | public IPage<PatrolConfig> selectPatrolReport(IPage<PatrolReport> page, PatrolConfig patrolConfig) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public boolean save(PatrolReport entity) { |
| | | if (Func.equals(entity.getStatus(),1)){ |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | return super.save(entity); |
| | | } |
| | | } |