| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.annotation.Java110Cmd; |
| | | 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.dto.reportCustomComponent.ReportCustomComponentDto; |
| | | import com.java110.intf.report.IReportCustomComponentV1InnerServiceSMO; |
| | |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.vo.ResultVo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | |
| | | * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行 |
| | | */ |
| | | @Java110Cmd(serviceCode = "reportCustomComponent.listReportCustomComponent") |
| | | public class ListReportCustomComponentCmd extends AbstractServiceCmdListener { |
| | | public class ListReportCustomComponentCmd extends Cmd { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(ListReportCustomComponentCmd.class); |
| | | @Autowired |
| | |
| | | |
| | | if (count > 0) { |
| | | reportCustomComponentDtos = reportCustomComponentV1InnerServiceSMOImpl.queryReportCustomComponents(reportCustomComponentDto); |
| | | |
| | | } else { |
| | | reportCustomComponentDtos = new ArrayList<>(); |
| | | } |
| | |
| | | |
| | | cmdDataFlowContext.setResponseEntity(responseEntity); |
| | | } |
| | | |
| | | |
| | | } |