演示页面404补提

This commit is contained in:
山东云则
2025-09-12 09:06:09 +08:00
parent f73ba6c0b6
commit 243406b92a
5 changed files with 26 additions and 2 deletions
@@ -14,6 +14,7 @@ import com.yunze.system.service.yunze.sysgl.IYzIndexpageService;
import com.yunze.web.core.config.MyBaseController;
import io.swagger.annotations.Api;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -89,7 +90,13 @@ public class YzIndexpageController extends MyBaseController {
return Myerr("资产明细统计图加载 操作失败!");
}
/**
* 首页加载续费计划未处理数量
*/
@GetMapping("/apiRenewalOrder")
public String ApiRenewalOrder() {
return MyRetunSuccess(iYzIndexpageService.apiRenewalOrder(), null);
}
}
@@ -54,4 +54,5 @@ public interface YzIndexpageMapper {
public List<String> findToExist(Map<String,Object> map);
Map<String, Object> getApiRenewalOrer();
}
@@ -179,7 +179,15 @@
<select id="findToExist" parameterType="java.util.HashMap" resultType="java.lang.String">
SELECT dept_id FROM yz_indexpage WHERE DATE_FORMAT( record_date , '%Y-%m' ) = #{yyyyMM} GROUP BY dept_id
</select>
<!--获取api续费未审核订单数量-->
<select id="getApiRenewalOrer" resultType="java.util.Map">
SELECT
count( 1 ) as api_not_reviewed_order
FROM
yz_applicationfor_renewal_primary
WHERE
`status` = 0
</select>
@@ -14,6 +14,7 @@ import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
@@ -158,6 +159,12 @@ public class YzIndexpageServiceImpl implements IYzIndexpageService {
return RMap;
}
@Override
public Map<String, Object> apiRenewalOrder() {
Map<String, Object> resultMap = yzIndexpageMapper.getApiRenewalOrer();
return resultMap;
}
/**
* 资产明细数据生成
* */
@@ -22,4 +22,5 @@ public interface IYzIndexpageService {
*/
public Map<String,Object> assetDetails(Map<String,Object> map);
Map<String,Object> apiRenewalOrder();
}