曾成
2020-05-14 753140881c427f333fc0e4fcd3abd4654cae90c0
UserService/src/main/java/com/java110/user/smo/IUserServiceSMO.java
@@ -1,12 +1,8 @@
package com.java110.user.smo;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.common.exception.SMOException;
import com.java110.utils.exception.SMOException;
import com.java110.core.context.BusinessServiceDataFlow;
import com.java110.entity.user.Cust;
import java.util.Map;
/**
 *
@@ -15,88 +11,9 @@
 */
public interface IUserServiceSMO {
    /**
     * 新建用户
     * @param userInfoJson
     * @return
     */
    public String saveUser(String userInfoJson) throws Exception;
    /**
     * 所有服务类(增删改查用户)
     * @param userInfoJson
     * @return
     */
    public String soUserService(JSONObject userInfoJson) throws Exception;
    /**
     * 所有服务类(增删改查用户)
     * @param userInfoJson
     * @return
     */
    public String soUserServiceForOrderService(JSONObject userInfoJson) throws Exception;
    /**
     * 客户信息处理
     * 协议:
     *{
     *     boCust:[{},{}]
     * }
     * @param boCusts
     * @return
     * @throws Exception
     */
    public String soBoCust(String boCusts) throws Exception;
    /**
     * 客户信息属性处理
     * 协议:
     *{
     *     boCustAttr:[{},{}]
     * }
     * @param boCustAttrs
     * @return
     * @throws Exception
     */
    public String soBoCustAttr(String boCustAttrs) throws Exception;
    /**
     * 作废客户信息
     * [{},{},{}]
     * @param datas
     * @return
     * @throws Exception
     */
    public String soDeleteCustInfo(JSONArray datas) throws Exception;
    /**
     * 查询客户信息
     * 包括 基本信息cust 和 属性信息 custAttr
     * @param cust
     * @return
     * @throws Exception
     */
    public String queryCust(Cust cust) throws Exception;
    /**
     * 根据olID查询用户信息
     * @param busiOrder
     * @return
     * @throws Exception
     */
    public String queryCustInfoByOlId(String busiOrder) throws Exception;
    /**
     * 根据购物车信息查询 需要作废的发起的报文
     * @param busiOrder
     * @return
     * @throws Exception
     */
    public String queryNeedDeleteCustInfoByOlId(String busiOrder) throws Exception;
    public JSONObject service(BusinessServiceDataFlow businessServiceDataFlow) throws SMOException;
}