标签现实问题,
This commit is contained in:
parent
067254f9db
commit
3e3a0df1ca
@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 数量-文章
|
* 数量-文章
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user