Explorar o código

特批审核的bug修复

Signed-off-by: anderx <312518615@qq.com>
anderx %!s(int64=5) %!d(string=hai) anos
pai
achega
aa84be979d

+ 7 - 5
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -1308,17 +1308,18 @@ left join department d on o.order_dep = d.id   left join t_order_mid a on o.orde
   	and a.salesman_id = #{aid,jdbcType=VARCHAR}
   	</if>
   	<if test="specially == 3">
-  	 and  a.order_status=2 and a.process_status != 99
-  	</if>
-  	 <if test="approval ==0">
-  	and a.approval = 0
+  	 and  a.order_status=2 and a.process_status != 99 
+  	<if test="approval ==0">
+  	and a.approval &gt; 0
   	</if>
   	<if test="approval ==1">
+  	and a.process_status = 7
   	and a.approval = 1
   	</if>
   	<if test="approval ==2">
   	and a.approval &gt; 1
-  	</if> 
+  	</if>
+  	</if>
   	<if test="specially == 4">
   	and e.main=1
   	and a.process_status in (4,5,6,99)
@@ -1433,6 +1434,7 @@ where super_id is null ) e on e.order_no=a.order_no
   	and a.approval &gt; 0
   	</if>
   	<if test="approval ==1">
+  	and a.process_status = 7
   	and a.approval = 1
   	</if>
   	<if test="approval ==2">

+ 3 - 3
src/main/resources/props/config_local.properties

@@ -45,8 +45,8 @@ logging.level.com.goafanti=DEBUG
 jedis.host=localhost
 jedis.port=6379
 jedis.timeout=5000
-#jedis.password=aft123456
-jedis.password=hqa103146
+jedis.password=aft123456
+#jedis.password=hqa103146
 pwd.hash_algorithm_name=md5
 pwd.hash_iterations=2
 
@@ -65,7 +65,7 @@ avatar.upload.host=//sb.jishutao.com/upload
 
 #连测试
 avatar.host=//static.jishutao.com
-static.host=//static.jishutao.com/1.1.33
+static.host=//static.jishutao.com/1.1.34
 
 upload.path=F:/data/public/upload
 upload.private.path=F:/data/private/upload