123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- package com.huimv.busi.xt.model;
- import java.util.List;
- import java.util.Map;
- import com.huimv.busi.xt.model.BaseService;
- import com.huimv.xt.dataobject.XtDmlb;
- import com.huimv.xt.dataobject.XtGydm;
- /**
- * 公用代码service
- * @author hongjun.hu
- * @version 1.0
- * @history
- */
- public interface GydmService extends BaseService {
- /**
- * 根据代码类别名称获得该代码类别下的所有的公用代码
- * @param map 参数
- * @return List<XtGydm>
- * @exception Exception
- */
- @SuppressWarnings("rawtypes")
- public List<XtGydm> getGydmListByLbmc(Map map) throws Exception;
-
- /**
- * 根据类别名称查询公用代码
- * @param lbmc
- * @return List<XtGydm>
- * @exception Exception
- */
- public List<XtGydm> getGydmLikePara(String lbmc) throws Exception;
-
- /**
- * 得到所有的代码类别
- * @param
- * @return List<XtDmlb>
- * @exception Exception
- */
- public List<XtDmlb> getAllDmlbList() throws Exception;
-
- /**
- * 根据类别id得到代码类别
- * @param lbid
- * @return XtDmlb
- */
- public XtDmlb getDmlbByLbid(Integer lbid) throws Exception;
-
- /**
- * 根据类别id得到公用代码集合
- * @param lbid
- * @return List<XtGydm
- * @exception Exception
- */
- public List<XtGydm> getGydmByLbid(Integer lbid) throws Exception;
-
- /**
- * 根据类别id得到公用代码集合(包含已作废公用代码)
- * @param lbid
- * @return List<XtGydm
- * @exception Exception
- */
- public List<XtGydm> getGydmByLbidContainUnuse(Integer lbid) throws Exception;
-
- /**
- * 保存代码类别(新增,修改,删除)
- * @param xtDmlb
- * @return void
- * @exception Exception
- */
- public void saveDmlb(XtDmlb xtDmlb) throws Exception;
-
- /**
- * 修改公用代码
- * @param xtGydm
- * @return
- * @exception Exception
- */
- public void updateGydm(XtGydm xtGydm) throws Exception;
-
- /**
- * 作废公用代码
- * @param xtGydm
- * @return
- */
- public void deleteGydm(XtGydm xtGydm) throws Exception;
-
- /**
- * 保存某个代码类别下所有公用代码集合
- * 内部过程:先删除该代码类别下的所有的公用代码,再插入集合中的公用代码
- * @param lbid List<XtGydm>
- * @return boolean
- * @exception Exception
- */
- public boolean saveGydmListOfDmlb(Integer lbid, List<XtGydm> gydmList) throws Exception;
-
- /**
- * 查询某个代码类别
- * 条件:模糊代码名称
- * @param lbmc
- * @return boolean
- */
- public List<XtDmlb> findDmlbListByLbmc(String lbmc)throws Exception;
-
- /**
- * 查询某个代码类别下的公用代码
- * 条件:代码id
- * @param lbid dmid
- * @return XtGydm
- * @exception Exception
- */
- public XtGydm findGydmByDmlbDmid(Integer lbid, String dmid) throws Exception;
- }
|