| | |
| | | import com.java110.user.dao.IUserServiceDao; |
| | | import com.java110.user.smo.IUserServiceSMO; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | @Transactional |
| | | public class UserServiceSMOImpl extends BaseServiceSMO implements IUserServiceSMO { |
| | | |
| | | @Autowired |
| | | private final static Logger logger = LoggerFactory.getLogger(UserServiceSMOImpl.class); |
| | | |
| | | //@Autowired |
| | | IPrimaryKeyService iPrimaryKeyService; |
| | | |
| | | @Autowired |
| | |
| | | @Override |
| | | public JSONObject service(BusinessServiceDataFlow businessServiceDataFlow) throws SMOException { |
| | | try { |
| | | Assert.hasLength(businessServiceDataFlow.getbId(),"bId 不能为空"); |
| | | |
| | | BusinessServiceDataFlowEventPublishing.multicastEvent(businessServiceDataFlow); |
| | | Assert.notEmpty(businessServiceDataFlow.getResJson(),"用户服务["+businessServiceDataFlow.getCurrentBusiness().getServiceCode()+"]没有返回内容"); |
| | | } catch (Exception e) { |