Administrator hace 4 años
padre
commit
8b8aeb1e0a

+ 1 - 1
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -505,12 +505,12 @@ from public_release a left join `user` b on a.uid =b.id left join admin c on a.a
   select  count(*)
 	from public_release a  left join admin c on a.aid =c.id
 	where 1=1
+	where 1=1
 	<if test="type==0">
 	and a.aid= #{aid} 
 	</if>
 	<if test="type==1">
 	and c.superior_id = #{aid}
-	and a.status=1
 	</if>
 	<if test="clockTime !=null">
 	and a.release_start &lt; #{clockTime} and a.release_end &gt; #{clockTime}

+ 1 - 0
src/main/java/com/goafanti/common/task/OrderDunTask.java

@@ -125,6 +125,7 @@ public class OrderDunTask {
   				}
   			}
   	  		if (o.getDunType()==0) {
+  	  			System.out.println(o.getId()+"---/n"+o.getCustomizeTime()+"---/n"+o.getDunType());
   	  		calendar2.setTime(o.getCustomizeTime());
   	  		CalendarTimeCleared(calendar);
   	  			if (calendar.equals(calendar2)) {

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

@@ -1,13 +1,13 @@
 #Driver
 jdbc.driverClassName=com.mysql.jdbc.Driver
 #本地
-#jdbc.url=jdbc\:mysql://localhost:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
-#jdbc.username=root
-#jdbc.password=123456
-#测试
-jdbc.url=jdbc:mysql://101.37.32.31:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc\:mysql://localhost:3306/aft20210528?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
 jdbc.username=root
-jdbc.password=aftdev
+jdbc.password=123456
+#测试
+#jdbc.url=jdbc:mysql://101.37.32.31:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+#jdbc.username=root
+#jdbc.password=aftdev
 #\u68c0\u6d4b\u6570\u636e\u5e93\u94fe\u63a5\u662f\u5426\u6709\u6548\uff0c\u5fc5\u987b\u914d\u7f6e
 jdbc.validationQuery=SELECT 'x'
 #\u521d\u59cb\u8fde\u63a5\u6570