IfaAssetsService.java 780 Bytes
Newer Older
吴泽佳's avatar
吴泽佳 committed
1 2
package com.tanpu.feo.feojob.service;

吴泽佳's avatar
吴泽佳 committed
3
import com.baomidou.dynamic.datasource.annotation.DS;
吴泽佳's avatar
吴泽佳 committed
4
import com.tanpu.feo.feojob.entity.IfaAssetsEntity;
吴泽佳's avatar
吴泽佳 committed
5 6 7 8
import com.tanpu.feo.feojob.mapper.IfaAssetsMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
吴泽佳's avatar
吴泽佳 committed
9 10

/**
吴泽佳's avatar
吴泽佳 committed
11
 * ServiceImp
吴泽佳's avatar
吴泽佳 committed
12 13 14
 *
 * @author zejia zj wu 2021年05月19日
 * @version 1.0
吴泽佳's avatar
吴泽佳 committed
15 16 17 18 19
 */
@Service("ifaAssetsService")
@Slf4j
@DS("feo_diagnose")
public class IfaAssetsService {
吴泽佳's avatar
吴泽佳 committed
20

吴泽佳's avatar
吴泽佳 committed
21 22
	@Autowired
	private IfaAssetsMapper ifaAssetsMapper;
吴泽佳's avatar
吴泽佳 committed
23

吴泽佳's avatar
吴泽佳 committed
24 25 26 27 28 29 30 31 32 33

	public IfaAssetsEntity findById(String s) {

		return ifaAssetsMapper.selectById(s);
	}

	@DS("feo_diagnose")
	public void insertIfaAssets(IfaAssetsEntity ifaAssets) {
		ifaAssetsMapper.insert(ifaAssets);
	}
吴泽佳's avatar
吴泽佳 committed
34
}