Commit a4b56f57c8e9c34cde0c4cdc9d163a4a26ca0f5a
1 parent
a84e5562
将抽取的数据转换为partspec数据 fix
Showing
3 changed files
with
18 additions
and
2 deletions
logs/info.log
... | ... | @@ -98895,3 +98895,19 @@ |
98895 | 98895 | 2023-01-10 14:50:52.299 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] |
98896 | 98896 | 2023-01-10 14:50:52.352 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] |
98897 | 98897 | 2023-01-10 14:50:52.727 [main] INFO cn.fw.parts.AcquirePartsTest - Started AcquirePartsTest in 5.491 seconds (JVM running for 8.252) |
98898 | +2023-01-10 16:22:24.931 [Thread-3] INFO o.s.w.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@1433046b: startup date [Tue Jan 10 14:50:48 CST 2023]; root of context hierarchy | |
98899 | +2023-01-10 16:24:35.648 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [cn.fw.parts.AcquirePartsTest], using SpringBootContextLoader | |
98900 | +2023-01-10 16:24:35.658 [main] INFO o.s.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [cn.fw.parts.AcquirePartsTest]: no resource found for suffixes {-context.xml, Context.groovy}. | |
98901 | +2023-01-10 16:24:35.787 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] | |
98902 | +2023-01-10 16:24:35.823 [main] INFO o.s.b.t.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7a5ceedd, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4201c465, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5b799640, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6cb107fd, org.springframework.test.context.transaction.TransactionalTestExecutionListener@710636b0, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3de8f619, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2ab4bc72, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4e5ed836, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@eadd4fb, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@740fb309, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7bd7d6d6, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@43f02ef2] | |
98903 | +2023-01-10 16:24:36.480 [main] INFO cn.fw.parts.AcquirePartsTest - Starting AcquirePartsTest on baiyun with PID 26478 (started by macbookpro in /Users/baiyun/develop/sbmp) | |
98904 | +2023-01-10 16:24:36.480 [main] INFO cn.fw.parts.AcquirePartsTest - No active profile set, falling back to default profiles: default | |
98905 | +2023-01-10 16:24:36.532 [main] INFO o.s.w.context.support.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6b5894c8: startup date [Tue Jan 10 16:24:36 CST 2023]; root of context hierarchy | |
98906 | +2023-01-10 16:24:37.113 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.6.Final | |
98907 | +2023-01-10 16:24:40.167 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6b5894c8: startup date [Tue Jan 10 16:24:36 CST 2023]; root of context hierarchy | |
98908 | +2023-01-10 16:24:40.344 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) | |
98909 | +2023-01-10 16:24:40.346 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) | |
98910 | +2023-01-10 16:24:40.382 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] | |
98911 | +2023-01-10 16:24:40.382 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] | |
98912 | +2023-01-10 16:24:40.433 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] | |
98913 | +2023-01-10 16:24:40.776 [main] INFO cn.fw.parts.AcquirePartsTest - Started AcquirePartsTest in 4.762 seconds (JVM running for 6.124) | ... | ... |
src/main/java/com/sucl/sbmp/sys/biz/SpecPartBiz.java
... | ... | @@ -50,9 +50,9 @@ public class SpecPartBiz { |
50 | 50 | specParts.add(specPart); |
51 | 51 | } |
52 | 52 | }); |
53 | + U.groupUpdateData(specParts, specPartService::saveOrUpdateBatch); | |
53 | 54 | tempScName.setYn(Boolean.TRUE); |
54 | 55 | nameService.updateById(tempScName); |
55 | - U.groupUpdateData(specParts, specPartService::saveOrUpdateBatch); | |
56 | 56 | } catch (Exception e) { |
57 | 57 | e.printStackTrace(); |
58 | 58 | } | ... | ... |
src/main/java/com/sucl/sbmp/sys/biz/U.java