首页>代码>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日
全栈小白  LV34 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日
最近浏览更多
wykao13 2023年10月12日
暂无贡献等级
茶茶茶百道qq 2023年9月21日
暂无贡献等级
Weishenghui  LV7 2023年9月19日
liwiaif  LV2 2023年9月1日
czsczd  LV3 2023年8月16日
rgbdx678  LV1 2023年8月13日
taoshen95  LV14 2023年8月7日
zhy1989wz  LV6 2023年7月3日
弥勒佛 2023年6月30日
暂无贡献等级
aachl1  LV5 2023年6月16日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友