| | |
| | | import com.java110.core.annotation.Java110Cmd; |
| | | import com.java110.core.annotation.Java110Transactional; |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.AbstractServiceCmdListener; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.dto.FloorDto; |
| | |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.utils.util.StringUtil; |
| | | import com.java110.vo.ResultVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Java110Cmd(serviceCode = "room.addRoomBinding") |
| | | public class AddRoomBindingCmd extends AbstractServiceCmdListener { |
| | | public class AddRoomBindingCmd extends Cmd { |
| | | |
| | | @Autowired |
| | | private IUnitV1InnerServiceSMO unitV1InnerServiceSMOImpl; |
| | |
| | | paramOutObj.put("roomId", addRoomView.getString("roomId")); |
| | | ResponseEntity<String> responseEntity = null; |
| | | |
| | | responseEntity = new ResponseEntity<String>(paramOutObj.toJSONString(), HttpStatus.OK); |
| | | responseEntity = ResultVo.createResponseEntity(paramOutObj); |
| | | |
| | | cmdDataFlowContext.setResponseEntity(responseEntity); |
| | | } |