首页>代码>ssm移动OA办公系统代码分享>/project/src/main/java/com/oa/project/biz/hb/CustagBiz.java
package com.oa.project.biz.hb;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.oa.project.dao.hb.CustagMapper;
import com.oa.project.entity.hb.Custag;

@Service
public class CustagBiz {
	@Resource
	private CustagMapper custagMapper;
	
	public List<Custag> findAll(){
		return custagMapper.findAll();
	}
	
	public Custag findById(int tagId){
		return custagMapper.selectByPrimaryKey(tagId);
	}
	
	public int save(Custag custag){
		return custagMapper.insertSelective(custag);
	}
	
	public int delete(int tagId){
		return custagMapper.deleteByPrimaryKey(tagId);
	}
	
	public int update(Custag custag){
		return custagMapper.updateByPrimaryKeySelective(custag);
	}
}
最近下载更多
aachl1  LV5 2023年6月16日
箫漾子非鱼辰初  LV6 2023年5月29日
哇塞塞哈哈哈  LV8 2023年5月5日
全栈小白  LV35 2023年4月25日
CharlesTang  LV2 2023年3月14日
KevinST  LV5 2023年2月6日
快乐的程序员  LV25 2023年1月25日
568885778  LV12 2023年1月4日
353249573  LV9 2022年12月1日
疾风前行  LV5 2022年11月30日
最近浏览更多
奋斗的小蚂蚁  LV16 10月22日
ttg2025  LV3 7月14日
molu123456 5月20日
暂无贡献等级
china_0221  LV41 4月27日
xiaohuaidan455  LV2 2月17日
xiaoaitx  LV8 1月2日
wykao13 2023年10月12日
暂无贡献等级
茶茶茶百道qq 2023年9月21日
暂无贡献等级
Weishenghui  LV7 2023年9月19日
liwiaif  LV2 2023年9月1日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友