@@ -634,7 +634,10 @@ public class ActivityService extends BaseService<ActivityDetail> {
**/
public InputStream getQRcode(String type, String width, String scene) {
- String access_token = JSON.parseObject(WxAppUtil.getAccessToken(APP_ID, APP_SERCRET)).getString("access_token");
+ String obj = WxAppUtil.getAccessToken(APP_ID, APP_SERCRET);
+ System.out.println("access_token:" + obj);
+ String access_token = JSON.parseObject(obj).getString("access_token");
+
String path = "";
InputStream is = null;
try {
@@ -59,7 +59,7 @@
UNION
SELECT
z.id id,
- '政府' name,
+ s.name name,
'0' type
FROM
sys_department s
@@ -131,12 +131,19 @@
JOIN z_user z ON z.department_id = s.id
+ SELECT
+ id,
+ '个人' name,
+ '5' type
+ FROM
+ z_user u
+ UNION
a.company_name name,
@@ -367,7 +374,7 @@
@@ -15,6 +15,7 @@
<if test="condition.title != null and condition.title != ''">
and ad.activity_title like concat('%',#{condition.title}, '%')
</if>
+ order by ad.create_time desc
</select>
<update id="batchUpdate">