Redeem 1 year ago
parent
commit
432399be12

+ 2 - 2
pom.xml

@@ -5,8 +5,8 @@
     <modelVersion>4.0.0</modelVersion>
 
     <groupId>org.example</groupId>
-    <artifactId>dil-api</artifactId>
-    <version>1.0-SNAPSHOT</version>
+    <artifactId>dil-rms-api</artifactId>
+    <version>1.7</version>
 
     <parent>
         <groupId>org.springframework.boot</groupId>

+ 1 - 1
src/main/java/com/steerinfo/dil/controller/RmsDirectlySentCityController.java

@@ -41,7 +41,7 @@ public class RmsDirectlySentCityController extends BaseRESTfulController {
             mapValue=new HashMap<>();
         }
         if (con != null && !"null".equals(con)){
-            mapValue.put("con","%" + con + "%");
+            mapValue.put("con",con);
         }
         PageHelper.startPage(pageNum, pageSize);
         //分页查询数据

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/RmsDirectlySentCityMapper.xml

@@ -508,7 +508,7 @@
     FROM RMS_DIRECTLY_SENT_CITY RDSC
     LEFT JOIN RMS_CARRIER RC ON RC.CARRIER_ID = RDSC.CARRIER_ID
     <if test="con != null">
-      WHERE RDSC.DIRECTLY_SENT_NAME LIKE #{con}
+      WHERE RDSC.DIRECTLY_SENT_NAME = #{con}
     </if>
   </select>
   <select id="getMaxId" resultType="java.math.BigDecimal">

+ 1 - 1
src/main/resources/log4j.properties

@@ -1,5 +1,5 @@
 ## LOG4J配置
-log4j.rootCategory=INFO,file, RUNNING,errorfile
+log4j.rootCategory=INFO,file, RUNNING,errorfile,stdout
 ## 控制台输出
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout