吴学文
2019-05-10 b82d10d935194ac94eed5bafd8a4b952ca5a2ea3
UserService/src/main/java/com/java110/user/smo/IUserServiceSMO.java
@@ -5,6 +5,7 @@
import com.java110.common.exception.SMOException;
import com.java110.core.context.BusinessServiceDataFlow;
import com.java110.entity.user.Cust;
import org.springframework.http.ResponseEntity;
import java.util.Map;
@@ -15,88 +16,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;
}