package com.jcdm.main.da.tileMatchCollection.service.impl; import java.util.List; import com.jcdm.common.utils.DateUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.jcdm.main.da.tileMatchCollection.mapper.DaTileMatchCollectionMapper; import com.jcdm.main.da.tileMatchCollection.domain.DaTileMatchCollection; import com.jcdm.main.da.tileMatchCollection.service.IDaTileMatchCollectionService; /** * 条码采集Service业务层处理 * * @author yyt * @date 2024-06-06 */ @Service public class DaTileMatchCollectionServiceImpl implements IDaTileMatchCollectionService { @Autowired private DaTileMatchCollectionMapper daTileMatchCollectionMapper; /** * 查询条码采集 * * @param id 条码采集主键 * @return 条码采集 */ @Override public DaTileMatchCollection selectDaTileMatchCollectionById(Long id) { return daTileMatchCollectionMapper.selectDaTileMatchCollectionById(id); } /** * 查询条码采集列表 * * @param daTileMatchCollection 条码采集 * @return 条码采集 */ @Override public List selectDaTileMatchCollectionList(DaTileMatchCollection daTileMatchCollection) { return daTileMatchCollectionMapper.selectDaTileMatchCollectionList(daTileMatchCollection); } /** * 新增条码采集 * * @param daTileMatchCollection 条码采集 * @return 结果 */ @Override public int insertDaTileMatchCollection(DaTileMatchCollection daTileMatchCollection) { daTileMatchCollection.setCreateTime(DateUtils.getNowDate()); return daTileMatchCollectionMapper.insertDaTileMatchCollection(daTileMatchCollection); } /** * 修改条码采集 * * @param daTileMatchCollection 条码采集 * @return 结果 */ @Override public int updateDaTileMatchCollection(DaTileMatchCollection daTileMatchCollection) { return daTileMatchCollectionMapper.updateDaTileMatchCollection(daTileMatchCollection); } /** * 批量删除条码采集 * * @param ids 需要删除的条码采集主键 * @return 结果 */ @Override public int deleteDaTileMatchCollectionByIds(Long[] ids) { return daTileMatchCollectionMapper.deleteDaTileMatchCollectionByIds(ids); } /** * 删除条码采集信息 * * @param id 条码采集主键 * @return 结果 */ @Override public int deleteDaTileMatchCollectionById(Long id) { return daTileMatchCollectionMapper.deleteDaTileMatchCollectionById(id); } }