| package com.matrix.system.hive.service; | 
|   | 
| import com.matrix.system.hive.bean.SysShopInfo; | 
| import com.matrix.system.hive.bean.SysVipInfo; | 
|   | 
|   | 
| /** | 
|  * 获取编号 | 
|  * @Title: CodeService.java   | 
|  * @Package com.zkingsoft.services   | 
|  * @description  | 
|  * @author jyy | 
|  * @email 18075895212@qq.com | 
|  * @date  2016年7月14日 上午9:59:03 | 
|  */ | 
| public interface CodeService { | 
|     /** | 
|     * @Title: getCode  | 
|     *  对编号没有要求使用该方法。 | 
|     * @author:jyy | 
|     * @param @return     | 
|     * @return String    返回类型  | 
|     * @date 2016年7月14日 上午10:08:37  | 
|     * @throws | 
|      */ | 
|     public String getOrderCode(); | 
|      | 
|     /** | 
|     *  根据一定的规则返回一个随机编号。 | 
|     * @author:jyy | 
|     * @param @param Codename 编号的名称: 例如: users | 
|     * @param @param codeType 编号的类型: 例如:传入会员卡的类型:尊贵会 | 
|     * 参数统一使用例如: | 
|     * 用户编号 | 
|     * Dictionary.CODE_USER , DicTionary.CODE_USER_TYPE | 
|     * @param @return     | 
|     * @return String    返回类型  | 
|     * @date 2016年7月14日 上午9:04:42  | 
|     * @throws | 
|      */ | 
|     public String getOrderCode(Integer Codename, String codeType); | 
|     /** | 
|      *  | 
|     * @Title: getVipInfoCode  | 
|     *   获取会员编号 | 
|     * @author:jyy | 
|     * @param @param vipInfo | 
|     * @param @return     | 
|     * @return String    返回类型  | 
|     * @date 2016年7月14日 上午9:58:21  | 
|     * @throws | 
|      */ | 
|     public String getVipInfoCode(SysVipInfo vipInfo); | 
|     /** | 
|      *  | 
|     * @Title: getShopCode  | 
|     *  获取一个门店编号 | 
|     * @author:jyy | 
|     * @param @param shopInfo | 
|     * @param @return     | 
|     * @return String    返回类型  | 
|     * @date 2016年7月14日 上午10:07:35  | 
|     * @throws | 
|      */ | 
|     public String getShopCode(SysShopInfo shopInfo); | 
|   | 
|   | 
|     /** | 
|      * 创建一个退款订单编号 | 
|      * @return | 
|      */ | 
|     String getRefundOrderNo(); | 
|   | 
|     String getServiceOrderCode(); | 
|   | 
|     String getDepartCode(); | 
|   | 
|     String getOutStoreCode(); | 
|   | 
|     String getCheckInfoCode(); | 
| } |