Browse Source

微信推送修改

anderx 2 years ago
parent
commit
ff533f6d94

+ 4 - 0
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -293,6 +293,8 @@
     and a.aid= #{aid}
     </if>
     <if test="processStatus ==1">
+      and a.process_status>0
+      and a.status =1
       and b.superior_id =#{aid}
     </if>
     <if test="status != null">
@@ -318,6 +320,8 @@
       and a.aid= #{aid}
     </if>
     <if test="processStatus ==1">
+      and a.process_status>0
+      and a.status =1
       and b.superior_id =#{aid}
     </if>
     <if test="status != null">

+ 1 - 1
src/main/java/com/goafanti/common/utils/WeChatUtils.java

@@ -94,7 +94,7 @@ public class WeChatUtils {
 	private Integer SendHttpPost(Map<String, Object> map, String url) {
 		JSONObject res=HttpUtils.httpPost(url, map);
 		if (res.get("errcode")!=null) {
-			LoggerUtils.debug(this.getClass(),"errcode={%s},url={%s}",res.getInteger("errcode").toString(),url);
+			LoggerUtils.debug(this.getClass(),"errcode={%s}",res.getInteger("errcode").toString());
 			return res.getInteger("errcode");
 		}else {
 			return 1;