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.CusstateMapper;
import com.oa.project.entity.hb.Cusstate;
@Service
public class CusstateBiz {
@Resource
private CusstateMapper cusstateMapper;
public List<Cusstate> findAll(){
return cusstateMapper.findAll();
}
public Cusstate findById(int stateId){
return cusstateMapper.selectByPrimaryKey(stateId);
}
public int save(Cusstate cusstate){
return cusstateMapper.insertSelective(cusstate);
}
public int delete(int stateId){
return cusstateMapper.deleteByPrimaryKey(stateId);
}
public int update(Cusstate cusstate){
return cusstateMapper.updateByPrimaryKeySelective(cusstate);
}
}
最近下载更多
最近浏览更多
奋斗的小蚂蚁 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日

