| | |
| | | package com.java110.user.smo; |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | 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; |
| | | |
| | | /** |
| | | * |
| | | * 用户信息管理,服务 |
| | |
| | | */ |
| | | public interface IUserServiceSMO { |
| | | |
| | | /** |
| | | * 新建用户 |
| | | * @param userInfoJson |
| | | * @return |
| | | */ |
| | | public String saveUser(String userInfoJson); |
| | | |
| | | /** |
| | | * 所有服务类(增删改查用户) |
| | | * @param userInfoJson |
| | | * @return |
| | | */ |
| | | public String soUserService(String userInfoJson); |
| | | |
| | | /** |
| | | * 客户信息处理 |
| | | * 协议: |
| | | *{ |
| | | * boCust:[{},{}] |
| | | * } |
| | | * @param boCusts |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public String soBoCust(String boCusts) throws Exception; |
| | | public JSONObject service(BusinessServiceDataFlow businessServiceDataFlow) throws SMOException; |
| | | |
| | | /** |
| | | * 客户信息属性处理 |
| | | * 协议: |
| | | *{ |
| | | * boCustAttr:[{},{}] |
| | | * } |
| | | * @param boCustAttrs |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public String soBoCustAttr(String boCustAttrs) throws Exception; |
| | | |
| | | } |