标签现实问题,

This commit is contained in:
wucongxing8150 2025-08-29 17:00:22 +08:00
parent 067254f9db
commit 3e3a0df1ca
3 changed files with 13 additions and 2 deletions

View File

@ -164,7 +164,8 @@ public class UserController extends BaseController {
@GetMapping("/user/test") @GetMapping("/user/test")
public Response<T> getUser() { public Response<T> getUser() {
try { try {
byte[] qrCodeByte = new byte[0]; // 生成证书
/* byte[] qrCodeByte = new byte[0];
// 生成证书 // 生成证书
String avt = "src/main/resources/static/cert/avt.png"; String avt = "src/main/resources/static/cert/avt.png";
@ -176,7 +177,10 @@ public class UserController extends BaseController {
certService.createCertTest(sealPath,certificateNo,name,content); certService.createCertTest(sealPath,certificateNo,name,content);
// 生成用户分享二维码-文章/视频 // 生成用户分享二维码-文章/视频
// userService.CreateUserCaseClinicalContentUnlimitedQrcode(String.valueOf(1),1); // userService.CreateUserCaseClinicalContentUnlimitedQrcode(String.valueOf(1),1);*/
// 重新计算标签数量
} catch (Exception e) { } catch (Exception e) {
return Response.error(e.getMessage()); return Response.error(e.getMessage());
} }

View File

@ -30,6 +30,12 @@ public class StatsCaseClinicalLabelModel {
@TableField("label_name") @TableField("label_name")
private String labelName; private String labelName;
/**
* 状态1:正常 2:不展示
*/
@TableField("status")
private Integer status;
/** /**
* 数量-文章 * 数量-文章
*/ */

View File

@ -21,6 +21,7 @@
a.label_name LIKE CONCAT('%', #{labelName}, '%') a.label_name LIKE CONCAT('%', #{labelName}, '%')
</if> </if>
AND (a.article_num + a.video_num) >= 1 AND (a.article_num + a.video_num) >= 1
AND a.status = 1
</where> </where>
<if test="order != null and !order.isEmpty()"> <if test="order != null and !order.isEmpty()">
ORDER BY ORDER BY