Browse Source

成衣和面辅料excel导出第一版

huxy 2 years ago
parent
commit
38639f0935

+ 618 - 0
jeecg-boot-module-system/logs/jeecgboot-2022-09-20.0.html

@@ -0,0 +1,618 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+  <head>
+    <title>Logback Log Messages</title>
+<style  type="text/css">
+table { margin-left: 2em; margin-right: 2em; border-left: 2px solid #AAA; }
+TR.even { background: #FFFFFF; }
+TR.odd { background: #EAEAEA; }
+TR.warn TD.Level, TR.error TD.Level, TR.fatal TD.Level {font-weight: bold; color: #FF4040 }
+TD { padding-right: 1ex; padding-left: 1ex; border-right: 2px solid #AAA; }
+TD.Time, TD.Date { text-align: right; font-family: courier, monospace; font-size: smaller; }
+TD.Thread { text-align: left; }
+TD.Level { text-align: right; }
+TD.Logger { text-align: left; }
+TR.header { background: #596ED5; color: #FFF; font-weight: bold; font-size: larger; }
+TD.Exception { background: #A2AEE8; font-family: courier, monospace;}
+</style>
+
+  </head>
+<body>
+<hr/>
+<p>Log session start time Tue Sep 20 11:16:39 CST 2022</p><p></p>
+
+<table cellspacing="0">
+<tr class="header">
+<td class="Level">Level</td>
+<td class="Date">Date</td>
+<td class="Message">Message</td>
+<td class="MethodOfCaller">MethodOfCaller</td>
+<td class="FileOfCaller">FileOfCaller</td>
+<td class="LineOfCaller">LineOfCaller</td>
+</tr>
+
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:40,151</td>
+<td class="Message">HV000001: Hibernate Validator 6.1.6.Final</td>
+<td class="MethodOfCaller">&lt;clinit&gt;</td>
+<td class="FileOfCaller">Version.java</td>
+<td class="LineOfCaller">21</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:40,496</td>
+<td class="Message">Starting JeecgSystemApplication v3.1.0 on LAPTOP-MGU08CKG with PID 47568 (D:\senyudanz\afterend\sen-yu-new-service\jeecg-boot-module-system\target\jeecg-boot-module-system-3.1.0.jar started by admin in D:\senyudanz\afterend\sen-yu-new-service\jeecg-boot-module-system\target)</td>
+<td class="MethodOfCaller">logStarting</td>
+<td class="FileOfCaller">StartupInfoLogger.java</td>
+<td class="LineOfCaller">55</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:40,498</td>
+<td class="Message">The following profiles are active: dev</td>
+<td class="MethodOfCaller">logStartupProfileInfo</td>
+<td class="FileOfCaller">SpringApplication.java</td>
+<td class="LineOfCaller">655</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:47,403</td>
+<td class="Message">Multiple Spring Data modules found, entering strict repository configuration mode!</td>
+<td class="MethodOfCaller">multipleStoresDetected</td>
+<td class="FileOfCaller">RepositoryConfigurationDelegate.java</td>
+<td class="LineOfCaller">249</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:47,406</td>
+<td class="Message">Bootstrapping Spring Data Redis repositories in DEFAULT mode.</td>
+<td class="MethodOfCaller">registerRepositoriesIn</td>
+<td class="FileOfCaller">RepositoryConfigurationDelegate.java</td>
+<td class="LineOfCaller">127</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:47,619</td>
+<td class="Message">Finished Spring Data repository scanning in 196ms. Found 0 Redis repository interfaces.</td>
+<td class="MethodOfCaller">registerRepositoriesIn</td>
+<td class="FileOfCaller">RepositoryConfigurationDelegate.java</td>
+<td class="LineOfCaller">187</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,016</td>
+<td class="Message"> ******************* init miniDao config [ begin ] *********************** </td>
+<td class="MethodOfCaller">miniDaoBeanScannerConfigurer</td>
+<td class="FileOfCaller">MinidaoAutoConfiguration.java</td>
+<td class="LineOfCaller">23</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,017</td>
+<td class="Message"> ------ minidao.base-package ------- org.jeecg.modules.jmreport.*</td>
+<td class="MethodOfCaller">miniDaoBeanScannerConfigurer</td>
+<td class="FileOfCaller">MinidaoAutoConfiguration.java</td>
+<td class="LineOfCaller">25</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,020</td>
+<td class="Message"> *******************  init miniDao config  [ end ] *********************** </td>
+<td class="MethodOfCaller">miniDaoBeanScannerConfigurer</td>
+<td class="FileOfCaller">MinidaoAutoConfiguration.java</td>
+<td class="LineOfCaller">42</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,120</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,122</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDataSourceDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,124</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,125</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbFieldDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,126</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbParamDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,128</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDictDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,129</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDictItemDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,130</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportLinkDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,133</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportMapDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,136</td>
+<td class="Message">register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportShareDao }</td>
+<td class="MethodOfCaller">doScan</td>
+<td class="FileOfCaller">MiniDaoClassPathMapperScanner.java</td>
+<td class="LineOfCaller">48</td>
+</tr>
+
+<tr class="warn odd">
+<td class="Level">WARN</td>
+<td class="Date">2022-09-20 11:16:48,590</td>
+<td class="Message">Multiple PropertySourcesPlaceholderConfigurer beans registered [propertySourcesPlaceholderConfigurer, placeholderConfigurer], falling back to Environment</td>
+<td class="MethodOfCaller">getSinglePropertySourcesPlaceholderConfigurer</td>
+<td class="FileOfCaller">PropertySourcesDeducer.java</td>
+<td class="LineOfCaller">66</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,964</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#9&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,978</td>
+<td class="Message">Bean &#39;jimuReportShareDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,980</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#8&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,982</td>
+<td class="Message">Bean &#39;jimuReportMapDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,984</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#7&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,987</td>
+<td class="Message">Bean &#39;jimuReportLinkDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,991</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#6&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,994</td>
+<td class="Message">Bean &#39;jimuReportDictItemDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,996</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#5&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:48,998</td>
+<td class="Message">Bean &#39;jimuReportDictDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,000</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#4&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,002</td>
+<td class="Message">Bean &#39;jimuReportDbParamDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,004</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#3&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,009</td>
+<td class="Message">Bean &#39;jimuReportDbFieldDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,012</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#2&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,014</td>
+<td class="Message">Bean &#39;jimuReportDbDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,017</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365#1&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,020</td>
+<td class="Message">Bean &#39;jimuReportDataSourceDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,022</td>
+<td class="Message">Bean &#39;(inner bean)#3a1dd365&#39; of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,024</td>
+<td class="Message">Bean &#39;jimuReportDao&#39; of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,088</td>
+<td class="Message">Bean &#39;spring.redis-org.springframework.boot.autoconfigure.data.redis.RedisProperties&#39; of type [org.springframework.boot.autoconfigure.data.redis.RedisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,101</td>
+<td class="Message">Bean &#39;org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration&#39; of type [org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,492</td>
+<td class="Message">Bean &#39;lettuceClientResources&#39; of type [io.lettuce.core.resource.DefaultClientResources] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,693</td>
+<td class="Message">Bean &#39;redisConnectionFactory&#39; of type [org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,705</td>
+<td class="Message">Bean &#39;jeeccgBaseConfig&#39; of type [org.jeecg.config.JeeccgBaseConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,706</td>
+<td class="Message">Bean &#39;shiroConfig&#39; of type [org.jeecg.config.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$81ddf05] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:49,873</td>
+<td class="Message">Bean &#39;shiroRealm&#39; of type [org.jeecg.config.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:50,675</td>
+<td class="Message">===============(1)创建缓存管理器RedisCacheManager</td>
+<td class="MethodOfCaller">redisCacheManager</td>
+<td class="FileOfCaller">ShiroConfig.java</td>
+<td class="LineOfCaller">228</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:50,688</td>
+<td class="Message">===============(2)创建RedisManager,连接Redis..</td>
+<td class="MethodOfCaller">redisManager</td>
+<td class="FileOfCaller">ShiroConfig.java</td>
+<td class="LineOfCaller">246</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:50,701</td>
+<td class="Message">Bean &#39;redisManager&#39; of type [org.crazycake.shiro.RedisManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:50,707</td>
+<td class="Message">Bean &#39;securityManager&#39; of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:50,860</td>
+<td class="Message">Bean &#39;authorizationAttributeSourceAdvisor&#39; of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,509</td>
+<td class="Message">Bean &#39;spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties&#39; of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,520</td>
+<td class="Message">Bean &#39;com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration&#39; of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$127007dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,534</td>
+<td class="Message">Bean &#39;dsProcessor&#39; of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,566</td>
+<td class="Message">Bean &#39;redisConfig&#39; of type [org.jeecg.common.modules.redis.config.RedisConfig$$EnhancerBySpringCGLIB$$257fef35] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,658</td>
+<td class="Message">Bean &#39;org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration&#39; of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$bbfa74bc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:51,666</td>
+<td class="Message">Bean &#39;eventBus&#39; of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)</td>
+<td class="MethodOfCaller">postProcessAfterInitialization</td>
+<td class="FileOfCaller">PostProcessorRegistrationDelegate.java</td>
+<td class="LineOfCaller">335</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,341</td>
+<td class="Message">Tomcat initialized with port(s): 8003 (http)</td>
+<td class="MethodOfCaller">initialize</td>
+<td class="FileOfCaller">TomcatWebServer.java</td>
+<td class="LineOfCaller">108</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,362</td>
+<td class="Message">Initializing ProtocolHandler [&quot;http-nio-8003&quot;]</td>
+<td class="MethodOfCaller">log</td>
+<td class="FileOfCaller">DirectJDKLog.java</td>
+<td class="LineOfCaller">173</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,363</td>
+<td class="Message">Starting service [Tomcat]</td>
+<td class="MethodOfCaller">log</td>
+<td class="FileOfCaller">DirectJDKLog.java</td>
+<td class="LineOfCaller">173</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,364</td>
+<td class="Message">Starting Servlet engine: [Apache Tomcat/9.0.39]</td>
+<td class="MethodOfCaller">log</td>
+<td class="FileOfCaller">DirectJDKLog.java</td>
+<td class="LineOfCaller">173</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,743</td>
+<td class="Message">Initializing Spring embedded WebApplicationContext</td>
+<td class="MethodOfCaller">log</td>
+<td class="FileOfCaller">DirectJDKLog.java</td>
+<td class="LineOfCaller">173</td>
+</tr>
+
+<tr class="info odd">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:52,744</td>
+<td class="Message">Root WebApplicationContext: initialization completed in 12013 ms</td>
+<td class="MethodOfCaller">prepareWebApplicationContext</td>
+<td class="FileOfCaller">ServletWebServerApplicationContext.java</td>
+<td class="LineOfCaller">285</td>
+</tr>
+
+<tr class="info even">
+<td class="Level">INFO</td>
+<td class="Date">2022-09-20 11:16:54,694</td>
+<td class="Message">{dataSource-1,master} inited</td>
+<td class="MethodOfCaller">init</td>
+<td class="FileOfCaller">DruidDataSource.java</td>
+<td class="LineOfCaller">994</td>
+</tr>

+ 65 - 0
jeecg-boot-module-system/logs/jeecgboot-2022-09-20.0.log

@@ -0,0 +1,65 @@
+2022-09-20 11:16:40.151 [background-preinit] INFO  org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.1.6.Final
+2022-09-20 11:16:40.496 [main] INFO  org.jeecg.JeecgSystemApplication:55 - Starting JeecgSystemApplication v3.1.0 on LAPTOP-MGU08CKG with PID 47568 (D:\senyudanz\afterend\sen-yu-new-service\jeecg-boot-module-system\target\jeecg-boot-module-system-3.1.0.jar started by admin in D:\senyudanz\afterend\sen-yu-new-service\jeecg-boot-module-system\target)
+2022-09-20 11:16:40.498 [main] INFO  org.jeecg.JeecgSystemApplication:655 - The following profiles are active: dev
+2022-09-20 11:16:47.403 [main] INFO  o.s.d.r.config.RepositoryConfigurationDelegate:249 - Multiple Spring Data modules found, entering strict repository configuration mode!
+2022-09-20 11:16:47.406 [main] INFO  o.s.d.r.config.RepositoryConfigurationDelegate:127 - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+2022-09-20 11:16:47.619 [main] INFO  o.s.d.r.config.RepositoryConfigurationDelegate:187 - Finished Spring Data repository scanning in 196ms. Found 0 Redis repository interfaces.
+2022-09-20 11:16:48.016 [main] INFO  o.j.minidao.auto.MinidaoAutoConfiguration:23 -  ******************* init miniDao config [ begin ] *********************** 
+2022-09-20 11:16:48.017 [main] INFO  o.j.minidao.auto.MinidaoAutoConfiguration:25 -  ------ minidao.base-package ------- org.jeecg.modules.jmreport.*
+2022-09-20 11:16:48.020 [main] INFO  o.j.minidao.auto.MinidaoAutoConfiguration:42 -  *******************  init miniDao config  [ end ] *********************** 
+2022-09-20 11:16:48.120 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDao }
+2022-09-20 11:16:48.122 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDataSourceDao }
+2022-09-20 11:16:48.124 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbDao }
+2022-09-20 11:16:48.125 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbFieldDao }
+2022-09-20 11:16:48.126 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDbParamDao }
+2022-09-20 11:16:48.128 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDictDao }
+2022-09-20 11:16:48.129 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportDictItemDao }
+2022-09-20 11:16:48.130 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportLinkDao }
+2022-09-20 11:16:48.133 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportMapDao }
+2022-09-20 11:16:48.136 [main] INFO  o.j.minidao.factory.MiniDaoClassPathMapperScanner:48 - register minidao name is { org.jeecg.modules.jmreport.desreport.dao.JimuReportShareDao }
+2022-09-20 11:16:48.590 [main] WARN  o.s.boot.context.properties.PropertySourcesDeducer:66 - Multiple PropertySourcesPlaceholderConfigurer beans registered [propertySourcesPlaceholderConfigurer, placeholderConfigurer], falling back to Environment
+2022-09-20 11:16:48.964 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#9' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.978 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportShareDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.980 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#8' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.982 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportMapDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.984 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#7' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.987 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportLinkDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.991 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#6' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.994 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDictItemDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.996 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#5' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:48.998 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDictDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.000 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#4' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.002 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDbParamDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.004 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#3' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.009 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDbFieldDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.012 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#2' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.014 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDbDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.017 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365#1' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.020 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDataSourceDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.022 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean '(inner bean)#3a1dd365' of type [org.jeecgframework.minidao.aop.MiniDaoHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.024 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jimuReportDao' of type [org.jeecgframework.minidao.factory.MiniDaoBeanFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.088 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'spring.redis-org.springframework.boot.autoconfigure.data.redis.RedisProperties' of type [org.springframework.boot.autoconfigure.data.redis.RedisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.101 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration' of type [org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.492 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'lettuceClientResources' of type [io.lettuce.core.resource.DefaultClientResources] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.693 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'redisConnectionFactory' of type [org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.705 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'jeeccgBaseConfig' of type [org.jeecg.config.JeeccgBaseConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.706 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'shiroConfig' of type [org.jeecg.config.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$81ddf05] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:49.873 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'shiroRealm' of type [org.jeecg.config.shiro.ShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:50.675 [main] INFO  org.jeecg.config.shiro.ShiroConfig:228 - ===============(1)创建缓存管理器RedisCacheManager
+2022-09-20 11:16:50.688 [main] INFO  org.jeecg.config.shiro.ShiroConfig:246 - ===============(2)创建RedisManager,连接Redis..
+2022-09-20 11:16:50.701 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'redisManager' of type [org.crazycake.shiro.RedisManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:50.707 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:50.860 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.509 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.520 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$127007dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.534 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.566 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'redisConfig' of type [org.jeecg.common.modules.redis.config.RedisConfig$$EnhancerBySpringCGLIB$$257fef35] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.658 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$bbfa74bc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:51.666 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:335 - Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2022-09-20 11:16:52.341 [main] INFO  o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8003 (http)
+2022-09-20 11:16:52.362 [main] INFO  org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-8003"]
+2022-09-20 11:16:52.363 [main] INFO  org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
+2022-09-20 11:16:52.364 [main] INFO  org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.39]
+2022-09-20 11:16:52.743 [main] INFO  o.a.c.c.C.[Tomcat].[localhost].[/jeecg-boot]:173 - Initializing Spring embedded WebApplicationContext
+2022-09-20 11:16:52.744 [main] INFO  o.s.b.w.s.c.ServletWebServerApplicationContext:285 - Root WebApplicationContext: initialization completed in 12013 ms
+2022-09-20 11:16:54.694 [main] INFO  com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1,master} inited

+ 129 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/controller/SyPackingListFabricController.java

@@ -1,15 +1,25 @@
 package org.jeecg.modules.splfi.controller;
 
+import java.io.File;
 import java.io.UnsupportedEncodingException;
 import java.io.IOException;
+import java.lang.reflect.Array;
 import java.net.URLDecoder;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.*;
 
+import javax.servlet.ServletOutputStream;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import cn.afterturn.easypoi.excel.ExcelExportUtil;
+import cn.afterturn.easypoi.excel.entity.TemplateExportParams;
+import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONObject;
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import org.apache.poi.ss.usermodel.Workbook;
 import org.jeecg.common.system.util.JwtUtil;
 import org.jeecg.common.system.vo.LoginUser;
 import org.apache.shiro.SecurityUtils;
@@ -17,6 +27,9 @@ import org.jeecg.common.util.oConvertUtils;
 import org.jeecg.modules.documents.shippingDetails.entity.VO.SyShippingDetailsVo;
 import org.jeecg.modules.openApi.entity.DxpDataPlan;
 import org.jeecg.modules.openApi.service.IDxpDataPlanService;
+import org.jeecg.modules.spapl.entity.SyPreAssembledPackingList;
+import org.jeecg.modules.splt.entity.SyPackingListTailoring;
+import org.jeecg.modules.splt.entity.SyPackingListTailoringItem;
 import org.jeecgframework.poi.excel.ExcelImportUtil;
 import org.jeecgframework.poi.excel.def.NormalExcelConstants;
 import org.jeecgframework.poi.excel.entity.ExportParams;
@@ -409,7 +422,7 @@ public class SyPackingListFabricController {
 	* @param request
 	* @param syPackingListFabric
 	*/
-	@RequestMapping(value = "/exportXls")
+	@RequestMapping(value = "/exportXls2")
 	public ModelAndView exportXls(HttpServletRequest request, SyPackingListFabric syPackingListFabric) {
 	  // Step.1 组装查询条件
 	  QueryWrapper<SyPackingListFabric> queryWrapper = QueryGenerator.initQueryWrapper(syPackingListFabric, request.getParameterMap());
@@ -480,4 +493,119 @@ public class SyPackingListFabricController {
 		syPackingListFabricService.getU8Data();
 		return Result.OK("同步成功");
 	}
+
+	 @AutoLog(value = "装箱单面辅料JSON")
+	 @ApiOperation(value="装箱单面辅料JSON", notes="装箱单面辅料JSON")
+	 @GetMapping(value = "/pushSplt")
+	 public JSONObject pushSplt(String id) {
+		 List list=new ArrayList();
+		 SyPackingListFabric syPackingListFabric= syPackingListFabricService.getById(id);
+		 QueryWrapper queryWrapper=new QueryWrapper();
+		 queryWrapper.eq("sy_packing_list_fabric_id",id);
+		 List<SyPackingListFabricItem> item=syPackingListFabricItemService.list(queryWrapper);
+		 syPackingListFabric.setSyPackingListFabricItem(item);
+		 list.add(syPackingListFabric);
+		 Gson userGson = new GsonBuilder().create();
+		 JSONObject jsonObjec=new JSONObject();
+		 jsonObjec.put("splt", userGson.toJson(JSONObject.toJSON(list)));
+		 return jsonObjec;
+	 }
+
+	 @AutoLog(value = "测试接收功能")
+	 @ApiOperation(value="测试接收功能", notes="测试接收功能")
+	 @PostMapping(value = "/saveBath")
+	 public Result saveBath(@RequestBody JSONArray json){
+		 Result result=new Result();
+		 try {
+			 if(json!=null&&json.size()>0) {
+				 //账套1
+				 List<Map<String, Object>> mapListOne = new ArrayList<>();
+				 for (int i = 0; i < json.size(); i++) {
+					 //获取对象
+					 JSONObject jsonObject = json.getJSONObject(i);
+					 //获取json名
+					 String spapl = jsonObject.get("splt").toString();
+					 //转list
+					 List<SyPackingListFabric> syPackingListTailorings=JSONObject.parseArray(spapl,SyPackingListFabric.class);
+					 //生成数据
+					 syPackingListFabricService.saveList(syPackingListTailorings);
+				 }
+				 result.setSuccess(true);
+				 result.success("操作成功");
+			 }
+		 } catch (Exception e) {
+			 e.printStackTrace();
+			 result.setSuccess(false);
+			 result.error500("操作失败:"+e.getMessage());
+		 }
+		 return result;
+	 }
+
+	 @AutoLog(value = "导出测试")
+	 @ApiOperation(value="导出测试", notes="导出测试")
+	 @RequestMapping(value = "/exportXls")
+	 public Result<SyPackingListFabric> exportXls(HttpServletRequest request,HttpServletResponse response,String id) {
+		 //初始时间
+		 long startTime = System.currentTimeMillis();
+		 /*要计算的程序部分*/
+		 SyPackingListFabric syPackingListFabric=new SyPackingListFabric();
+		 if(oConvertUtils.isNotEmpty(id)){
+			 syPackingListFabric.setId(id);
+		 }
+		 Result result=new Result();
+		 try{
+			 QueryWrapper<SyPackingListFabric> queryWrapper = QueryGenerator.initQueryWrapper(syPackingListFabric, request.getParameterMap());
+			 queryWrapper.eq("del_flag","0");
+			 queryWrapper.last("limit 100");//最多100条数据,再多就太慢了
+			 queryWrapper.orderByDesc(	"create_time");//创建时间倒序
+			 List<SyPackingListFabric> packingListFabrics = syPackingListFabricService.list(queryWrapper);
+			 if(packingListFabrics.size()==0){
+				 result.setResult(null);
+				 result.setMessage("导出失败!没有查询到数据");
+				 result.setSuccess(false);
+				 return result;
+			 }
+			 packingListFabrics=syPackingListFabricService.selectByList(packingListFabrics);
+			 long endTime = System.currentTimeMillis();
+			 System.out.println("查询子表后程序运行时间:" + (endTime - startTime) + "ms");
+			 String load="D:\\单证模板\\面辅料.xlsx";
+			 int count = packingListFabrics.size();//分几条sheet
+			 File file=new File(load);
+			 TemplateExportParams templateExcelConstants=new TemplateExportParams(file.getAbsolutePath(),true,"预装箱单");
+			 List<Map<String, Object>> listMap = new ArrayList<Map<String, Object>>();
+			 Map<Integer, List<Map<String, Object>>> maps = new HashMap<Integer, List<Map<String, Object>>>();
+			 for (int i = 1; i <=count ; i++) {
+				 List<SyPackingListFabric> exportList=new ArrayList<>();
+				 exportList.add(packingListFabrics.get(i-1));
+				 SyPackingListFabric exportList2=packingListFabrics.get(i-1);
+				 Map<String, Object> map = new HashMap<String, Object>();
+				 map.put("entity", exportList2);//主表数据
+				 map.put("maps", exportList2.getSyPackingListFabricItem());//子表数据
+				 listMap.add(map);
+			 }
+			 maps.put(0,listMap);
+			 templateExcelConstants.setColForEach(true);
+			 Workbook workbook = ExcelExportUtil.exportExcelClone(maps,templateExcelConstants);
+			 for(int i=0;i<packingListFabrics.size();i++){
+				 workbook.setSheetName(i,"面辅料"+(i+1));
+			 }
+			 // refreshSheet(workbook,temps);//配置某列数据
+			 ServletOutputStream outputStream = response.getOutputStream();
+			 workbook.write(outputStream);
+			 result.setCode(200);
+			 result.setResult(packingListFabrics.get(0));
+			 result.setMessage("导出成功!");
+			 result.setSuccess(true);
+		 }catch (Exception e){
+			 System.err.println("message\t"+e.getMessage());
+			 result.setResult(null);
+			 result.setMessage(e.getMessage());
+			 result.setSuccess(false);
+		 }finally {
+			 long endTime2 = System.currentTimeMillis();
+			 System.out.println("返回时程序运行时间:" + (endTime2 - startTime) + "ms");
+			 return result;
+		 }
+
+	 }
 }

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/mapper/SyPackingListFabricItemMapper.java

@@ -28,4 +28,6 @@ public interface SyPackingListFabricItemMapper extends BaseMapper<SyPackingListF
 	//根据id获取发运明细数据
 	@InterceptorIgnore(tenantLine = "true")
 	public List<SyPackingListFabricItem> getSyShippingDetailsDatas(@Param("ids") String[] ids,@Param("groupIds") String[] groupIds);
+
+    List<SyPackingListFabricItem> getList(@Param("ids") Object[] toArray);
 }

+ 11 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/mapper/xml/SyPackingListFabricItemMapper.xml

@@ -117,7 +117,17 @@
 		FROM `sy_packing_list_fabric_item`
 		where del_flag=0 and
 		sy_packing_list_fabric_id=#{value}
-		order by sy_packing_list_fabric_item desc
+		order by group_id desc
 	</select>
 
+	<select id="getList"   resultType="org.jeecg.modules.splfi.entity.SyPackingListFabricItem">
+		SELECT	*
+		FROM `sy_packing_list_fabric_item`
+		where del_flag=0 and
+		sy_packing_list_fabric_id in
+		<foreach collection="ids" item="value" index="index" open="(" separator="," close=")">
+			#{value}
+		</foreach>
+		order by group_id desc
+	</select>
 </mapper>

+ 6 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/ISyPackingListFabricService.java

@@ -9,6 +9,7 @@ import org.jeecg.modules.splfi.entity.SyPackingListFabric;
 import com.baomidou.mybatisplus.extension.service.IService;
 import java.io.Serializable;
 import java.text.ParseException;
+import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 
@@ -57,6 +58,9 @@ public interface ISyPackingListFabricService extends IService<SyPackingListFabri
 	//根据id获取主表子表汇总数据
 	public SyPackingListFabric selectById(String id);
 
+	//根据id获取主表子表汇总数据
+	public List<SyPackingListFabric> selectByList(List<SyPackingListFabric> syPackingListFabrics);
+
 	//分页查询
 	IPage<SyPackingListFabric> selectPage(IPage<SyPackingListFabric> page,QueryWrapper<SyPackingListFabric> queryWrapper);
 
@@ -65,4 +69,6 @@ public interface ISyPackingListFabricService extends IService<SyPackingListFabri
 	boolean submitBatch(String[] ids);
 
 	String cancelSubmitBatch(String[] ids);
+
+    void saveList(List<SyPackingListFabric> syPackingListTailorings);
 }

+ 41 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -136,12 +136,14 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 			entity.setSyPackingListFabricId(syPackingListFabric.getId());
 			entity.setInventoryQuantity(entity.getActualDeclaredQuantity());//入库数量=实际报关数量
 			if(entity.getIsAdd()>0){//大于1就是新增数据
-				SyShippingDetailsItem s1 =syShippingDetailsItemMapper.selectById(entity.getSyShippingDetailsItemId());
+
+				//因为云工厂得修改时得停止调用前面接口
+				/*SyShippingDetailsItem s1 =syShippingDetailsItemMapper.selectById(entity.getSyShippingDetailsItemId());
 				//剩余数量-这次入库数量=新剩余数量
 				s1.setSurplusQuantity(s1.getSurplusQuantity().subtract(entity.getInventoryQuantity()));
 				//此次入库数量-剩余数量=超发数量
 				s1.setExcessQuantity(entity.getInventoryQuantity().subtract(s1.getSurplusQuantity()));
-				syShippingDetailsItemMapper.updateById(s1);
+				syShippingDetailsItemMapper.updateById(s1);*/
 				entity.setId(null);
 				syPackingListFabricItemMapper.insert(entity);
 			}else{
@@ -205,7 +207,6 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 			}
 		}
 		syPackingListFabric.setSyPackingListFabricItem(syPackingListFabricItems);
-
 		return syPackingListFabric;
 	}
 
@@ -216,6 +217,32 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 		return syPackingListFabric;
 	}
 
+	@Override
+	public List<SyPackingListFabric> selectByList(List<SyPackingListFabric> syPackingListFabrics) {
+		System.out.println("syPackingListFabrics数量\t"+syPackingListFabrics.size());
+		ArrayList arrayList=new ArrayList();
+		for (SyPackingListFabric item : syPackingListFabrics){
+			arrayList.add(item.getId());
+		}
+		System.out.println(arrayList);
+		List<SyPackingListFabricItem> items= syPackingListFabricItemMapper.getList(arrayList.toArray());
+		Map<String,List<SyPackingListFabricItem>> maps=new HashMap<>();
+		for(SyPackingListFabricItem item : items){
+			if(!maps.containsKey(item)){
+				maps.put(item.getSyPackingListFabricId(),new ArrayList<SyPackingListFabricItem>());
+				maps.get(item.getSyPackingListFabricId()).add(item);
+			}else{
+				maps.get(item.getSyPackingListFabricId()).add(item);
+			}
+		}
+		for (SyPackingListFabric syPackingListFabric :syPackingListFabrics){
+			syPackingListFabric.setSyPackingListFabricItem(maps.get(syPackingListFabric.getId()));
+		}
+		System.out.println("maps.size\t"+maps.size());
+		System.out.println("items数量\t"+items.size());
+		return syPackingListFabrics;
+	}
+
 	@Override
 	public IPage<SyPackingListFabric> selectPage(IPage<SyPackingListFabric> page, QueryWrapper<SyPackingListFabric> queryWrapper) {
 		return syPackingListFabricMapper.queryMain(page,queryWrapper);
@@ -436,4 +463,15 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 			return str.substring(0,str.length()-1);
 		}
 	}
+
+	@Override
+	@Transactional
+	public void saveList(List<SyPackingListFabric> syPackingListTailorings) {
+		for (SyPackingListFabric syPackingListFabric : syPackingListTailorings){
+			syPackingListFabricMapper.insert(syPackingListFabric);
+			for (SyPackingListFabricItem s1 : syPackingListFabric.getSyPackingListFabricItem()) {
+				syPackingListFabricItemMapper.insert(s1);
+			}
+		}
+	}
 }

+ 208 - 70
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/controller/SyPackingListTailoringController.java

@@ -1,15 +1,25 @@
 package org.jeecg.modules.splt.controller;
 
-import java.io.IOException;
+import java.io.*;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLConnection;
 import java.util.*;
 
+import javax.servlet.ServletOutputStream;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import cn.afterturn.easypoi.excel.ExcelExportUtil;
+import cn.afterturn.easypoi.excel.entity.TemplateExportParams;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import com.google.gson.Gson;
 import com.google.gson.GsonBuilder;
+import org.apache.poi.hssf.usermodel.HSSFWorkbook;
+import org.apache.poi.hssf.util.HSSFColor;
+import org.apache.poi.ss.usermodel.*;
+import org.apache.poi.xssf.usermodel.XSSFWorkbook;
 import org.jeecg.common.constant.CommonConstant;
 import org.jeecg.common.system.util.JwtUtil;
 import org.jeecg.common.system.vo.LoginUser;
@@ -18,6 +28,8 @@ import org.jeecg.common.util.RedisUtil;
 import org.jeecg.common.util.oConvertUtils;
 import org.jeecg.modules.documents.letterDeposit.entity.SyLetterDepositItem;
 import org.jeecg.modules.documents.syShippingOrder.entity.SyShippingOrderItem;
+import org.jeecg.modules.spapl.entity.SizeTable;
+import org.jeecg.modules.spapl.entity.SyPreAssembledPackingList;
 import org.jeecg.modules.spapl.entity.SyPreAssembledPackingListItem;
 import org.jeecg.modules.spapl.service.ISyPreAssembledPackingListService;
 import org.jeecg.modules.spapl.vo.SyPreAssembledPackingListVo;
@@ -448,77 +460,203 @@ public class SyPackingListTailoringController {
 		return Result.OK(syPackingListTailoringItemList);
 	}*/
 
-  /**
-   * 导出excel
-   *
-   * @param request
-   * @param syPackingListTailoring
-   */
-  @RequestMapping(value = "/exportXls")
-  public ModelAndView exportXls(HttpServletRequest request, SyPackingListTailoring syPackingListTailoring) {
-      // Step.1 组装查询条件
-      QueryWrapper<SyPackingListTailoring> queryWrapper = QueryGenerator.initQueryWrapper(syPackingListTailoring, request.getParameterMap());
-      LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
-
-      //Step.2 获取导出数据
-      List<SyPackingListTailoringPage> pageList = new ArrayList<SyPackingListTailoringPage>();
-      List<SyPackingListTailoring> syPackingListTailoringList = syPackingListTailoringService.list(queryWrapper);
-      for (SyPackingListTailoring temp : syPackingListTailoringList) {
-          SyPackingListTailoringPage vo = new SyPackingListTailoringPage();
-          BeanUtils.copyProperties(temp, vo);
-          List<SyPackingListTailoringItem> syPackingListTailoringItemList = syPackingListTailoringItemService.selectByMainId(temp.getId());
-          vo.setSyPackingListTailoringItemList(syPackingListTailoringItemList);
-          pageList.add(vo);
-      }
-      //Step.3 调用AutoPoi导出Excel
-      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
-      mv.addObject(NormalExcelConstants.FILE_NAME, "装箱单主表");
-      mv.addObject(NormalExcelConstants.CLASS, SyPackingListTailoringPage.class);
-      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("装箱单主表数据", "导出人:"+sysUser.getRealname(), "装箱单主表"));
-      mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
-      return mv;
-  }
-
-  /**
-   * 通过excel导入数据
-   *
-   * @param request
-   * @param response
-   * @return
-   */
-  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
-  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
-      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
-      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
-      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
-          MultipartFile file = entity.getValue();// 获取上传文件对象
-          ImportParams params = new ImportParams();
-          params.setTitleRows(2);
-          params.setHeadRows(1);
-          params.setNeedSave(true);
-          try {
-              List<SyPackingListTailoringPage> list = ExcelImportUtil.importExcel(file.getInputStream(), SyPackingListTailoringPage.class, params);
-              for (SyPackingListTailoringPage page : list) {
-                  SyPackingListTailoring po = new SyPackingListTailoring();
-                  BeanUtils.copyProperties(page, po);
-                  syPackingListTailoringService.saveMain2(po);
-              }
-              return Result.OK("文件导入成功!数据行数:" + list.size());
-          } catch (Exception e) {
-              log.error(e.getMessage(),e);
-              return Result.error("文件导入失败:"+e.getMessage());
-          } finally {
-              try {
-                  file.getInputStream().close();
-              } catch (IOException e) {
-                  e.printStackTrace();
-              }
-          }
-      }
-      return Result.OK("文件导入失败!");
-  }
+	 @AutoLog(value = "导出测试")
+	 @ApiOperation(value="导出测试", notes="导出测试")
+	 @RequestMapping(value = "/exportXls")
+	 public Result<SyPackingListTailoring> exportXls3(HttpServletRequest request,HttpServletResponse response,String id) {
+		 SyPackingListTailoring syPackingListTailoring=new SyPackingListTailoring();
+		 if(oConvertUtils.isNotEmpty(id)){
+			 syPackingListTailoring.setId(id);
+		 }
+		 Result result=new Result();
+		 try{
+			 QueryWrapper<SyPackingListTailoring> queryWrapper = QueryGenerator.initQueryWrapper(syPackingListTailoring, request.getParameterMap());
+			 queryWrapper.eq("del_flag","0");
+			 queryWrapper.orderByDesc(	"create_time");//创建时间倒序
+			 List<SyPackingListTailoring> syPackingListTailorings = syPackingListTailoringService.list(queryWrapper);
+			 System.out.println("syPackingListTailorings的长度为:\t"+syPackingListTailorings.size());
+			 if(syPackingListTailorings.size()==0){
+				 result.setResult(null);
+				 result.setMessage("导出失败!没有查询到数据");
+				 result.setSuccess(false);
+				 return result;
+			 }
+			 List<SyPackingListTailoring> temps=new ArrayList<>();
+			 for (SyPackingListTailoring temp : syPackingListTailorings) {
+				 QueryWrapper<SyPreAssembledPackingList> queryWrapper1 = new QueryWrapper<SyPreAssembledPackingList>();
+				 queryWrapper1.eq("id",temp.getId()).eq("del_flag",0);//预装箱单主表id
+				 SyPackingListTailoring entity=syPackingListTailoringService.queryId(temp.getId());//已筛选删除状态
+				 temps.add(entity);
+			 }
+			 String load="D:\\单证模板\\装箱单成衣.xlsx";
+			 int count = temps.size();//分几条sheet
+			 File file=new File(load);
+			 TemplateExportParams templateExcelConstants=new TemplateExportParams(file.getAbsolutePath(),true,"预装箱单");
+			 List<Map<String, Object>> listMap = new ArrayList<Map<String, Object>>();
+			 Map<Integer, List<Map<String, Object>>> maps = new HashMap<Integer, List<Map<String, Object>>>();
+			 for (int i = 1; i <=count ; i++) {
+				 List<SyPackingListTailoring> exportList=new ArrayList<>();
+				 exportList.add(temps.get(i-1));
+				 SyPackingListTailoring exportList2=temps.get(i-1);
+				 Map<String, Object> map = new HashMap<String, Object>();
+				 map.put("entity", exportList2);
+				 listMap.add(map);
+			 }
+			 maps.put(0,listMap);
+			 templateExcelConstants.setColForEach(true);
+			 Workbook workbook = ExcelExportUtil.exportExcelClone(maps,templateExcelConstants);
+			 refreshSheet(workbook,temps);//配置某列数据
+			 ServletOutputStream outputStream = response.getOutputStream();
+			 workbook.write(outputStream);
+
+			 result.setCode(200);
+			 result.setResult(temps.get(0));
+			 result.setMessage("导出成功!");
+			 result.setSuccess(true);
+		 }catch (Exception e){
+			 System.err.println("message\t"+e.getMessage());
+			 result.setResult(null);
+			 result.setMessage(e.getMessage());
+			 result.setSuccess(false);
+		 }finally {
+			 return result;
+		 }
+
+	 }
+
+	 protected static void refreshSheet(Workbook workbook,List<SyPackingListTailoring> items) {
+		 CellStyle cellStyle = workbook.createCellStyle();//设置单元格样式
+
+		 cellStyle.setAlignment(HorizontalAlignment.CENTER);//左右居中
+		 cellStyle.setVerticalAlignment(VerticalAlignment.CENTER);//上下居中
+		 cellStyle.setBorderBottom(BorderStyle.THIN);//边框
+		 cellStyle.setBorderTop(BorderStyle.THIN);//边框
+		 cellStyle.setBorderLeft(BorderStyle.THIN);//边框
+		 cellStyle.setBorderRight(BorderStyle.THIN);//边框
+		 cellStyle.setFillForegroundColor(IndexedColors.LIGHT_GREEN.getIndex());//设置前景色 现在是浅绿色
+		 cellStyle.setFillBackgroundColor(HSSFColor.HSSFColorPredefined.LIGHT_GREEN.getIndex());//设置背景色 现在是浅绿色
+		 cellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);//必须设置 否则无效
+
+		 CellStyle cellStyle2=workbook.createCellStyle();//设置单元格样式
+		 cellStyle2.setAlignment(HorizontalAlignment.CENTER);//左右居中
+		 cellStyle2.setVerticalAlignment(VerticalAlignment.CENTER);//上下居中
+
+		 Iterator sheets=workbook.sheetIterator();
+		 int num=items.size()-1;
+		 try{
+			 while (sheets.hasNext()){
+				 Sheet sheet=(Sheet) sheets.next();
+				 SyPackingListTailoring sypres=items.get(num);
+				 workbook.setSheetName(num,"装箱单"+(num+1));
+				 System.out.println("workbook\t"+workbook.getSheetName(num));
+				 num--;
+				 List<SyPackingListTailoringItem> list=sypres.getSyPackingListTailoringItemList();
+				 if(list==null){
+					 continue;//退出本次循环
+				 }
+				 for (int i=0; i < list.size(); i++) {
+					 Row row = sheet.createRow(4+i);//列
+					 String strs="";
+					 for (SizeTable size : sypres.getSizeTables()){
+						 strs+=size.getSize()+",";
+					 }
+					 String[] params=("序号,账套,成衣工厂,HOD,STYLE NO.,PO NO.," +
+							 "ITEM NO./SKU NO.UPC NO./PACKS CODE,PREPACK SKU," +
+							 "分销点/DC/LABEL,"+strs+"启始箱号,结束箱号,颜色(中英文)" +
+							 ",配码,件数/箱,箱数,计划尺码数量,计划装箱数量,总件数," +
+							 "净重/箱,总净重,毛重/箱,总毛重,外箱长度,外箱宽度," +
+							 "外箱高度,总体积,净净重,备注").split(",");
+					 Row row2 = sheet.createRow(3);
+					 for (int x=0;x<params.length;x++){
+						 Cell cell = row2.createCell(x);//横向
+						 if(x>8&&x<params.length-19){
+							 cell.setCellStyle(cellStyle);
+						 }else{
+							 cell.setCellStyle(cellStyle2);
+						 }
+						 cell.setCellValue(params[x]);//比例
+					 }
+					 List<SizeTable> sizes=list.get(i).getSizeTables();
+					 params=list.get(i).toString().replace("null","").split(",");
+					 for (int y=0;y<params.length;y++){
+						 Cell cell = row.createCell(y);//横向
+						 if(y==0){
+							 cell.setCellStyle(cellStyle2);
+							 cell.setCellValue(i+1);//序号
+							 continue;
+						 } else if(y>8&&y<params.length-18){
+							 cell.setCellStyle(cellStyle);
+						 }else{
+							 cell.setCellStyle(cellStyle2);
+						 }
+						 cell.setCellValue(params[y]);//输入值
+					 }
+				 }
+			 }
+		 }catch (Exception e){
+			 System.err.println(e.getMessage());
+		 }
+
+	 }
+	 /**
+	  * 通过excel导入数据
+	  *
+	  * @param request
+	  * @param response
+	  * @return
+	  */
+	 @RequestMapping(value = "/importExcel3", method = RequestMethod.POST)
+	 public Result<?> importExcel2(HttpServletRequest request, HttpServletResponse response) throws IOException {
+		 MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+		 Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+		 for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+			 MultipartFile file = entity.getValue();// 获取上传文件对象
+			 System.out.println("文件是否为空--isfile\t"+file.isEmpty());
+			 System.out.println("文件全称--fileName\t"+file.getOriginalFilename());
+			 System.out.println("文件类型--fileType\t"+file.getContentType());
+			 System.out.println("文件大小--fileSize\t"+file.getSize()/1024+"KB");
+			 InputStream inputStream=file.getInputStream();
+			 ImportParams params = new ImportParams();
+			 System.out.println("inputSream:\t"+inputStream);
+			 Workbook workbook=new XSSFWorkbook(inputStream);
+			 refreshSheet(workbook);
+			 params.setTitleRows(2);
+			 params.setHeadRows(1);
+			 params.setNeedSave(true);
+			 System.out.println("start\t"+params.getStartRows());
+			 System.out.println("last\t"+params.getLastOfInvalidRow());
+			 System.out.println("sheetNum\t"+params.getSheetNum());
+		 }
+		 return Result.OK("文件导入失败!");
+	 }
 
 
+	 private void refreshSheet(Workbook workbook1) {
+		 //String load="C:\\Users\\admin\\Downloads\\装箱单测试.xls";
+		 //头表目前固定七个字段数据
+		 Iterator sheets=workbook1.sheetIterator();
+		 while (sheets.hasNext()){
+			 Sheet sheet=(Sheet) sheets.next();
+			 System.out.println("first:\t"+sheet.getFirstRowNum());
+			 System.out.println("last为:\t"+sheet.getLastRowNum());
+			 for (int x=1;x<=sheet.getLastRowNum();x++){
+				 Row row=sheet.getRow(x);//列
+				 if(oConvertUtils.isEmpty(row.getCell(1).getStringCellValue())){//如果这一列为空就退出
+				 	continue;
+				 }
+				 for (int i=1;i<row.getLastCellNum();i++){
+					 Cell cell=row.getCell(i);
+					 if(i>10&&i<row.getLastCellNum()-20){
+						 System.out.print(String.format("\033[%dm%s\033[0m", 31, cell.getStringCellValue())+"\t");//颜色
+					 }else{
+						 System.out.print(cell.getStringCellValue()+"\t");
+					 }
+				 }
+				 x=x<2?x++:x;//跨行
+				 System.out.println();
+			 }
+		 }
+	 }
 
 	 @AutoLog(value = "装箱单成衣JSON")
 	 @ApiOperation(value="装箱单成衣JSON", notes="装箱单成衣JSON")

+ 39 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/entity/SyPackingListTailoringItem.java

@@ -10,6 +10,8 @@ import com.fasterxml.jackson.annotation.JsonFormat;
 import org.jeecg.modules.spapl.entity.SizeTable;
 import org.springframework.format.annotation.DateTimeFormat;
 import org.jeecgframework.poi.excel.annotation.Excel;
+
+import java.text.SimpleDateFormat;
 import java.util.Date;
 import java.util.List;
 
@@ -294,4 +296,41 @@ public class SyPackingListTailoringItem implements Serializable {
 	/**申报要素ID*/
 	@ApiModelProperty(value = "申报要素ID")
 	private String elementsId;
+
+	@Override
+	public String toString() {
+		String sizes="";
+		for (SizeTable size : sizeTables){
+			sizes+=size.getProportion()+",";
+		}
+		return " ,"+
+				acSetNo+","+
+				garmentFactory+","+
+				new SimpleDateFormat("yyyy-MM-dd").format(hod)+","+
+				styleNo+","+
+				poNo+","+
+				itemCode+","+
+				prepackSku+","+
+				distributionPoint+","+
+				sizes+
+				startingBoxNumber+","+
+				endCaseNumber+","+
+				colour+","+
+				withCode+","+
+				piecesBox+","+
+				boxNumber+","+
+				planSize+","+
+				planQuantity+","+
+				total+","+
+				netWeight+","+
+				totalNetWeight+","+
+				grossWeight+","+
+				totalGrossWeight+","+
+				outerBoxLength+","+
+				outerBoxWidth+","+
+				outerBoxHeight+","+
+				totalVolume+","+
+				netWeightToo+","+
+				remarks;
+	}
 }

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/mapper/xml/syPackingListTailoringMapper.xml

@@ -127,6 +127,8 @@
          a.accessory ,
          a.total_Boxes ,
          a.total ,
+         a.create_by ,
+         a.create_time ,
          a.total_Net_Weight ,
          a.total_Gross_Weight ,
          a.total_Volume ,

+ 34 - 13
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/service/impl/SyPackingListTailoringServiceImpl.java

@@ -33,9 +33,7 @@ import org.springframework.transaction.interceptor.TransactionAspectSupport;
 import java.io.Serializable;
 import java.math.BigDecimal;
 import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.List;
-import java.util.Collection;
+import java.util.*;
 
 /**
  * @Description: 装箱单主表
@@ -179,6 +177,35 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 		return syPackingListTailoring;
 	}
 
+	/**
+	 * 云工厂测试用-接口
+	 * @param syPackingListTailoring
+	 * @return
+	 */
+	public synchronized SyPackingListTailoring saveMain(SyPackingListTailoring syPackingListTailoring){
+		List<SyPackingListTailoringItem> items=syPackingListTailoring.getSyPackingListTailoringItemList();
+		syPackingListTailoring.setDelFlag("0");//删除状态默认为0
+		syPackingListTailoring.setPushState("0");//推送状态默认为0
+		syPackingListTailoring.setStatus("0");//单据状态默认为0
+		syPackingListTailoring.setDocumentNo(randomStr());//单据号
+		syPackingListTailoringMapper.insert(syPackingListTailoring);//往主表添加数据
+		Map<String,String> mapId=new HashMap<String, String>();//key为发运明细子表id,value为分组id
+		for(SyPackingListTailoringItem s1 : items){
+			s1.setSyPackingListTailoringId(syPackingListTailoring.getId());//获取主表id
+			if(!mapId.containsKey(s1.getGroupId())){//如果这个发运明细id没有分组id,就生成一个新的分组id
+				mapId.put(s1.getGroupId(), org.jeecg.modules.system.util.oConvertUtils.getId());
+				syPackingListTailoring.setTotalBoxes(syPackingListTailoring.getTotalBoxes().add(s1.getBoxNumber()));//总箱数
+			}
+			s1.setGroupId(mapId.get(s1.getGroupId()));//获取id
+			syPackingListTailoring.setTotal(syPackingListTailoring.getTotal().add(s1.getTotal()));//总件数
+			syPackingListTailoring.setTotalNetWeight(syPackingListTailoring.getTotalNetWeight().add(s1.getTotalNetWeight()));//总净重
+			syPackingListTailoring.setTotalGrossWeight(syPackingListTailoring.getTotalGrossWeight().add(s1.getTotalGrossWeight()));//总毛重
+			syPackingListTailoring.setTotalVolume(syPackingListTailoring.getTotalVolume().add(s1.getTotalVolume()));//总体积
+			syPackingListTailoring.setTotalPrice(syPackingListTailoring.getTotalPrice().add(s1.getTotalPrice()));//总价
+			syPackingListTailoringItemMapper.insert(s1);//新增子表数据
+		}
+		return syPackingListTailoring;
+	}
 	/**
 	 * 专门处理云工厂数据
 	 * @param syPackingListTailoring
@@ -190,13 +217,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 		for (SyPackingListTailoring splt : syPackingListTailoring){
 			splt.setWhetherCloudFactoryPush("y");//y代表是云工厂推送的
 			splt.setId(null);//id设置为null
-			splt.setOrderNumber(randomStr());//订单号
-			syPackingListTailoringMapper.insert(splt);
-			for (SyPackingListTailoringItem item : splt.getSyPackingListTailoringItemList()){
-				item.setId(null);
-				item.setSyPackingListTailoringId(splt.getId());
-				syPackingListTailoringItemMapper.insert(item);
-			}
+			saveMain(splt);//无sizeTable的新增方法
 		}
 		return syPackingListTailoring;
 	}
@@ -278,11 +299,11 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 			for (SyPackingListTailoringItem item : items){
 				//循环子表获得尺码组
 				item.setSizeTables(sort(syPreAssembledPackingListItemMapper.querySize2(item.getGroupId(),item.getSyPreAssembledPackingListId())));
-				String planSize="";
+				/*String planSize="";
 				for (SizeTable size:item.getSizeTables()){
 					planSize+=size.getSize()+":"+size.getQuantity()+"+";
 				}
-				item.setPlanSize(planSize.substring(0,planSize.length()-1));//截取最后一位+号
+				item.setPlanSize(planSize.substring(0,planSize.length()-1));*///截取最后一位+号
 			}
 			syPackingListTailoring.setSyPackingListTailoringItemList(items);
 		}
@@ -417,7 +438,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 				syPackingListTailoringMapper.updateById(syPackingListTailoring);
 			}
 			if(str.length()>0){
-				throw new JeecgBootException("已被托书参照并提交");
+				throw new JeecgBootException("已被托书参照");
 			}
 		}catch (Exception e){
 			log.error(e.getMessage());