Просмотр исходного кода

冗余字段剔除、日志配置修复

yangzhi 2 недель назад
Родитель
Сommit
1f64411d6b

+ 0 - 1
src/main/resources/logback-spring.xml

@@ -13,7 +13,6 @@
     <!-- 彩色日志格式 -->
     <property name="CONSOLE_LOG_PATTERN"
               value="%red(%d{yyyy-MM-dd HH:mm:ss.SSS}) %green([%thread]) %highlight(%-5level) %boldMagenta(%method : %line) %n - %msg%n" />
-    value="%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%method : %line) - %msg %n" />
     <!-- 控制台输出 -->
     <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
         <encoder>

+ 1 - 5
src/main/resources/mapper_xml/MaterialMapper.xml

@@ -6,16 +6,12 @@
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="category_id" jdbcType="BIGINT" property="categoryId" />
     <result column="name" jdbcType="VARCHAR" property="name" />
-    <result column="model" jdbcType="VARCHAR" property="model" />
-    <result column="standard" jdbcType="VARCHAR" property="standard" />
     <result column="brand" jdbcType="VARCHAR" property="brand" />
     <result column="mnemonic" jdbcType="VARCHAR" property="mnemonic" />
-    <result column="color" jdbcType="VARCHAR" property="color" />
     <result column="unit" jdbcType="VARCHAR" property="unit" />
     <result column="remark" jdbcType="VARCHAR" property="remark" />
     <result column="img_name" jdbcType="VARCHAR" property="imgName" />
     <result column="unit_id" jdbcType="BIGINT" property="unitId" />
-    <result column="weight" jdbcType="DECIMAL" property="weight" />
     <result column="enabled" jdbcType="BIT" property="enabled" />
     <result column="other_field1" jdbcType="VARCHAR" property="otherField1" />
     <result column="other_field2" jdbcType="VARCHAR" property="otherField2" />
@@ -24,7 +20,7 @@
     <result column="enable_batch_number" jdbcType="VARCHAR" property="enableBatchNumber" />
     <result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
     <result column="delete_flag" jdbcType="VARCHAR" property="deleteFlag" />
-    <result column="system_sku" jdbcType="VARCHAR" property="systemSku" />
+    <result column="system_spu" jdbcType="VARCHAR" property="systemSpu" />
     <result column="moving_pin_reminder_cycle" jdbcType="VARCHAR" property="movingPinReminderCycle" />
   </resultMap>