| | |
| | | }) |
| | | } |
| | | ) |
| | | @MapperScan(basePackages={"com.dy.pipIrrGlobal.daoRm", "com.dy.pipIrrGlobal.daoPr", "com.dy.pipIrrGlobal.daoSe", "com.dy.pipIrrGlobal.daoBa"}) |
| | | @MapperScan(basePackages={"com.dy.pipIrrGlobal.daoRm", "com.dy.pipIrrGlobal.daoPr", "com.dy.pipIrrGlobal.daoSe", "com.dy.pipIrrGlobal.daoBa","com.dy.pipIrrGlobal.daoFi"}) |
| | | public class PipIrrRemoteApplication { |
| | | |
| | | public static void main(String[] args) { |
| | |
| | | @SsoAop() |
| | | public BaseResponse<List<String>> rtuLogText(String rtuAddr){ |
| | | String mwUrlRtuLogText = env.getProperty(pro_mw + "." + DataSourceContext.get() + "." + key_mw_text); |
| | | return this.requestMw4Text(rtuAddr, mwUrlRtuLogText) ; |
| | | BaseResponse<List<String>> text = this.requestMw4Text(rtuAddr, mwUrlRtuLogText); |
| | | if (text != null){ |
| | | if (text.getContent().contains("控制器")){ |
| | | return BaseResponseUtils.buildErrorMsg(""+text+"") ; |
| | | } |
| | | return text ; |
| | | }else { |
| | | return BaseResponseUtils.buildErrorMsg("获取日志文件为null") ; |
| | | } |
| | | // return this.requestMw4Text(rtuAddr, mwUrlRtuLogText) ; |
| | | } |
| | | |
| | | |