燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-06-16 5b17ccbbe08971f861ff097c62241d2b79e4b5f6
src/main/java/com/yssh/service/impl/DictRecordServiceImpl.java
@@ -4,13 +4,14 @@
import lombok.Synchronized;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.yssh.dao.DictRecordMapper;
import com.yssh.entity.DictRecord;
import com.yssh.service.IDictRecordService;
import javax.annotation.Resource;
/**
 * 字典记录Service业务层处理
@@ -19,12 +20,12 @@
 */
@Service
public class DictRecordServiceImpl implements IDictRecordService {
   @Autowired
   @Resource
   private DictRecordMapper dictRecordMapper;
   /**
    * 查询字典记录列表
    *
    * @param dictRecord 字典记录
    * @return 字典记录
    */
@@ -33,8 +34,14 @@
      return dictRecordMapper.selectDictRecordList(dictRecord);
   }
   @Override
   public DictRecord selectByCreateTime(Long createTime) {
      return dictRecordMapper.selectByCreateTime(createTime);
   }
   /**
    * 新增字典记录
    *
    * @param dictRecord 字典记录
    * @return 结果
    */
@@ -45,6 +52,7 @@
   /**
    * 删除字典记录对象
    *
    * @param ids 需要删除的数据ID
    * @return 结果
    */
@@ -56,6 +64,7 @@
   /**
    * 删除字典记录信息
    *
    * @param id 字典记录ID
    * @return 结果
    */
@@ -73,5 +82,4 @@
   public int createDictRecoTable() {
      return dictRecordMapper.createDictRecoTable();
   }
}