标签现实问题,

This commit is contained in:
2025-08-29 17:00:22 +08:00
parent 067254f9db
commit 3e3a0df1ca
3 changed files with 13 additions and 2 deletions
@@ -164,7 +164,8 @@ public class UserController extends BaseController {
@GetMapping("/user/test")
public Response<T> getUser() {
try {
byte[] qrCodeByte = new byte[0];
// 生成证书
/* byte[] qrCodeByte = new byte[0];
// 生成证书
String avt = "src/main/resources/static/cert/avt.png";
@@ -176,7 +177,10 @@ public class UserController extends BaseController {
certService.createCertTest(sealPath,certificateNo,name,content);
// 生成用户分享二维码-文章/视频
// userService.CreateUserCaseClinicalContentUnlimitedQrcode(String.valueOf(1),1);
// userService.CreateUserCaseClinicalContentUnlimitedQrcode(String.valueOf(1),1);*/
// 重新计算标签数量
} catch (Exception e) {
return Response.error(e.getMessage());
}
@@ -30,6 +30,12 @@ public class StatsCaseClinicalLabelModel {
@TableField("label_name")
private String labelName;
/**
* 状态(1:正常 2:不展示)
*/
@TableField("status")
private Integer status;
/**
* 数量-文章
*/
@@ -21,6 +21,7 @@
a.label_name LIKE CONCAT('%', #{labelName}, '%')
</if>
AND (a.article_num + a.video_num) >= 1
AND a.status = 1
</where>
<if test="order != null and !order.isEmpty()">
ORDER BY