Commit 71e9937c authored by kinky2014's avatar kinky2014

增加气瓶相关mapper引用

parent 2d73c1b8
...@@ -9,9 +9,16 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; ...@@ -9,9 +9,16 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeejoin.amos.boot.module.cylinder.flc.api.dto.CylinderInfoDto; import com.yeejoin.amos.boot.module.cylinder.flc.api.dto.CylinderInfoDto;
import com.yeejoin.amos.boot.module.cylinder.flc.api.entity.CylinderFillingRecord;
import com.yeejoin.amos.boot.module.cylinder.flc.api.entity.CylinderUnit; import com.yeejoin.amos.boot.module.cylinder.flc.api.entity.CylinderUnit;
import com.yeejoin.amos.boot.module.cylinder.flc.api.dto.CylinderUnitDto; import com.yeejoin.amos.boot.module.cylinder.flc.api.dto.CylinderUnitDto;
import com.yeejoin.amos.boot.module.cylinder.flc.api.entity.CylinderUnitVideo; import com.yeejoin.amos.boot.module.cylinder.flc.api.entity.CylinderUnitVideo;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderFillingCheckMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderFillingExamineMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderFillingMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderInfoMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderInspectionMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderTagsMapper;
import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderUnitMapper; import com.yeejoin.amos.boot.module.cylinder.flc.api.mapper.CylinderUnitMapper;
import java.util.List; import java.util.List;
...@@ -19,8 +26,47 @@ import java.util.List; ...@@ -19,8 +26,47 @@ import java.util.List;
@Component @Component
public class SyncCylinderDataService public class SyncCylinderDataService
{ {
/**
* 气瓶企业信息
*/
@Autowired @Autowired
public CylinderUnitMapper cylinderUnitMapper; private CylinderUnitMapper cylinderUnitMapper;
/**
* 气瓶基本信息
*/
@Autowired
private CylinderInfoMapper cylinderInfoMapper;
/**
* 气瓶充装信息--充装前检查
*/
@Autowired
private CylinderFillingMapper cylinderFillingMapper;
/**
* 液化气体气瓶充装信息-充装记录
*/
@Autowired
private CylinderFillingRecord cylinderFillingRecord;
/**
* 液化气体气瓶充装信息-充装后复查
*/
@Autowired
private CylinderFillingCheckMapper cylinderFillingCheckMapper;
/**
* 液化气体气瓶充装信息审核
*/
@Autowired
private CylinderFillingExamineMapper cylinderFillingExamineMapper;
/**
* 气瓶标签信息
*/
@Autowired
private CylinderTagsMapper cylinderTagsMapper;
/**
* 气瓶检验信息
*/
@Autowired
private CylinderInspectionMapper cylinderInspectionMapper;
@DS("tzs") @DS("tzs")
public void syncCylinderUnit(List<CylinderUnitDto> cylinderUnitDto) { public void syncCylinderUnit(List<CylinderUnitDto> cylinderUnitDto) {
// List<CylinderUnit> cylinderUnits = Bean.toModels(cylinderUnitDto,CylinderUnit.class); // List<CylinderUnit> cylinderUnits = Bean.toModels(cylinderUnitDto,CylinderUnit.class);
......
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