| | |
| | | |
| | | 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业务层处理 |
| | |
| | | */ |
| | | @Service |
| | | public class DictRecordServiceImpl implements IDictRecordService { |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private DictRecordMapper dictRecordMapper; |
| | | |
| | | /** |
| | | * 查询字典记录列表 |
| | | * |
| | | * @param dictRecord 字典记录 |
| | | * @return 字典记录 |
| | | */ |
| | |
| | | return dictRecordMapper.selectDictRecordList(dictRecord); |
| | | } |
| | | |
| | | @Override |
| | | public DictRecord selectByCreateTime(Long createTime) { |
| | | return dictRecordMapper.selectByCreateTime(createTime); |
| | | } |
| | | |
| | | /** |
| | | * 新增字典记录 |
| | | * |
| | | * @param dictRecord 字典记录 |
| | | * @return 结果 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 删除字典记录对象 |
| | | * |
| | | * @param ids 需要删除的数据ID |
| | | * @return 结果 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 删除字典记录信息 |
| | | * |
| | | * @param id 字典记录ID |
| | | * @return 结果 |
| | | */ |
| | |
| | | public int createDictRecoTable() { |
| | | return dictRecordMapper.createDictRecoTable(); |
| | | } |
| | | |
| | | } |