Commit ed930bad authored by KeYong's avatar KeYong

提交巡检相关逻辑

parent 97b07924
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.CheckInput;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface CheckInputMapper extends BaseMapper<CheckInput> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.Check;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface CheckMapper extends BaseMapper<Check> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.CheckShot;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface CheckShotMapper extends BaseMapper<CheckShot> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerFlowRecord;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface LatentDangerFlowRecordMapper extends BaseMapper<LatentDangerFlowRecord> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.LatentDanger;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface LatentDangerMapper extends BaseMapper<LatentDanger> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPatrol;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface LatentDangerPatrolMapper extends BaseMapper<LatentDangerPatrol> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPhoto;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface LatentDangerPhotoMapper extends BaseMapper<LatentDangerPhoto> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.PlanTaskDetail;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface PlanTaskDetailMapper extends BaseMapper<PlanTaskDetail> {
}
package com.boot.bus.sqlsync.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.patrol.dao.entity.PlanTask;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface PlanTaskMapper extends BaseMapper<PlanTask> {
}
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.CheckInputMapper;
import com.boot.bus.sqlsync.service.infc.ICheckInputService;
import com.yeejoin.amos.patrol.dao.entity.CheckInput;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CheckInputServiceImpl extends ServiceImpl<CheckInputMapper, CheckInput> implements ICheckInputService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<CheckInput> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.CheckMapper;
import com.boot.bus.sqlsync.service.infc.ICheckService;
import com.yeejoin.amos.patrol.dao.entity.Check;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CheckServiceImpl extends ServiceImpl<CheckMapper, Check> implements ICheckService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<Check> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.CheckShotMapper;
import com.boot.bus.sqlsync.service.infc.ICheckShotService;
import com.yeejoin.amos.patrol.dao.entity.CheckShot;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CheckShotServiceImpl extends ServiceImpl<CheckShotMapper, CheckShot> implements ICheckShotService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<CheckShot> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.LatentDangerFlowRecordMapper;
import com.boot.bus.sqlsync.service.infc.ILatentDangerFlowRecordService;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerFlowRecord;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class LatentDangerFlowRecordServiceImpl extends ServiceImpl<LatentDangerFlowRecordMapper, LatentDangerFlowRecord> implements ILatentDangerFlowRecordService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<LatentDangerFlowRecord> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.LatentDangerPatrolMapper;
import com.boot.bus.sqlsync.service.infc.ILatentDangerPatrolService;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPatrol;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class LatentDangerPatrolServiceImpl extends ServiceImpl<LatentDangerPatrolMapper, LatentDangerPatrol> implements ILatentDangerPatrolService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<LatentDangerPatrol> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.LatentDangerPhotoMapper;
import com.boot.bus.sqlsync.service.infc.ILatentDangerPhotoService;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPhoto;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class LatentDangerPhotoServiceImpl extends ServiceImpl<LatentDangerPhotoMapper, LatentDangerPhoto> implements ILatentDangerPhotoService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<LatentDangerPhoto> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.LatentDangerMapper;
import com.boot.bus.sqlsync.service.infc.ILatentDangerService;
import com.yeejoin.amos.patrol.dao.entity.LatentDanger;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class LatentDangerServiceImpl extends ServiceImpl<LatentDangerMapper, LatentDanger> implements ILatentDangerService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<LatentDanger> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.PlanTaskDetailMapper;
import com.boot.bus.sqlsync.service.infc.IPlanTaskDetailService;
import com.yeejoin.amos.patrol.dao.entity.PlanTaskDetail;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class PlanTaskDetailServiceImpl extends ServiceImpl<PlanTaskDetailMapper, PlanTaskDetail> implements IPlanTaskDetailService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<PlanTaskDetail> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.bus.sqlsync.mapper.PlanTaskMapper;
import com.boot.bus.sqlsync.service.infc.IPlanTaskService;
import com.yeejoin.amos.patrol.dao.entity.PlanTask;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class PlanTaskServiceImpl extends ServiceImpl<PlanTaskMapper, PlanTask> implements IPlanTaskService {
@Override
public void asfDeleteByIds(List<Long> ids) {
if (!ids.isEmpty()) {
this.baseMapper.deleteBatchIds(ids);
}
}
@Override
public void asfSaveOrUpdateBatch(List<PlanTask> list) {
if (!list.isEmpty()) {
saveOrUpdateBatch(list);
}
}
}
\ No newline at end of file
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.CheckInput;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ICheckInputService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<CheckInput> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.Check;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ICheckService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<Check> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.CheckShot;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ICheckShotService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<CheckShot> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerFlowRecord;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ILatentDangerFlowRecordService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<LatentDangerFlowRecord> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPatrol;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ILatentDangerPatrolService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<LatentDangerPatrol> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.LatentDangerPhoto;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ILatentDangerPhotoService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<LatentDangerPhoto> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.LatentDanger;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface ILatentDangerService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<LatentDanger> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.PlanTaskDetail;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface IPlanTaskDetailService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<PlanTaskDetail> collect);
}
package com.boot.bus.sqlsync.service.infc;
import com.yeejoin.amos.patrol.dao.entity.PlanTask;
import java.util.List;
/**
* @author keyong
* @title: ICheckService
* <pre>
* @description: TODO
* </pre>
* @date 2022/6/10 16:04
*/
public interface IPlanTaskService {
void asfDeleteByIds(List<Long> collect);
void asfSaveOrUpdateBatch(List<PlanTask> collect);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment