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

3 4 5

import com.tanpu.feo.feojob.dao.diagnose.entity.IfaAssetsEntity;
import com.tanpu.feo.feojob.dao.diagnose.mapper.IfaAssetsMapper;
吴泽佳's avatar
吴泽佳 committed
6 7 8
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
 */
@Service("ifaAssetsService")
@Slf4j
18

吴泽佳's avatar
吴泽佳 committed
19
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

	public IfaAssetsEntity findById(String s) {

		return ifaAssetsMapper.selectById(s);
	}

30

吴泽佳's avatar
吴泽佳 committed
31 32 33
	public void insertIfaAssets(IfaAssetsEntity ifaAssets) {
		ifaAssetsMapper.insert(ifaAssets);
	}
吴泽佳's avatar
吴泽佳 committed
34
}