dev
袁野 5 months ago
parent 9068625ff8
commit 7750919fcb
  1. 4
      order/src/main/resources/dev/logback.xml
  2. 2
      order/src/main/resources/prod/logback.xml
  3. 2
      service/src/main/java/com/hfkj/service/goods/impl/GoodsSpecsServiceImpl.java

@ -73,7 +73,7 @@
<!-- 定制日志 -->
<!-- 四川中石油 -->
<appender name="ScPetroLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>log/petroLog.log</File>
<File>log/ScPetroLog.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>log/ScPetroLog/ScPetroLog.log.%d.%i</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
@ -183,7 +183,7 @@
<!-- 中油优途中石油卡券 -->
<appender name="PcytCNPCCouponLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>log/petroLog.log</File>
<File>log/PcytCNPCCouponLog.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>log/PcytCNPC/PcytCNPCCouponLog.log.%d.%i</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">

@ -73,7 +73,7 @@
<!-- 定制日志 -->
<!-- 四川中石油 -->
<appender name="ScPetroLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>log/petroLog.log</File>
<File>log/ScPetroLog.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>log/ScPetroLog/ScPetroLog.log.%d.%i</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">

@ -66,7 +66,7 @@ public class GoodsSpecsServiceImpl implements GoodsSpecsService {
@Override
public GoodsSpecs queryDetailByGoodsId(Long id) {
GoodsSpecsExample goodsSpecsExample = new GoodsSpecsExample();
goodsSpecsExample.createCriteria().andGoodsIdEqualTo(id);
goodsSpecsExample.createCriteria().andIdEqualTo(id);
List<GoodsSpecs> goodsSpecs = goodsSpecsMapper.selectByExample(goodsSpecsExample);

Loading…
Cancel
Save