测试问题修改

This commit is contained in:
cwchen 2025-04-16 16:54:08 +08:00
parent 6078055a5d
commit 6b88066ec0
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ public class HighQualityWatermark {
private static final int DEFAULT_FONT_STYLE = Font.BOLD;
private static final Color DEFAULT_COLOR = new Color(195, 32, 32, 255);
private static final int MIN_FONT_SIZE = 10;
private static final int MAX_FONT_SIZE = 72;
private static final int MAX_FONT_SIZE = 140;
private static final float MIN_OPACITY = 0.3f;
private static final float MAX_OPACITY = 0.9f;
private static final float DEFAULT_QUALITY = 1.0f; // 最高质量(无损)

View File

@ -199,10 +199,10 @@
</if>
<if test="(checkDesc3!=null and checkDesc3!='') or (rectDesc3!=null and rectDesc3!='')">
<if test="checkDesc3!=null and checkDesc3!=''">
AND INSTR(tcq.vio_desc,#{checkDesc3}) > 0
AND INSTR(tcq.vio_place,#{checkDesc3}) > 0
</if>
<if test="rectDesc3!=null and rectDesc3!=''">
AND INSTR(tcq.rect_desc,#{rectDesc3}) > 0
AND INSTR(tcq.vio_desc,#{rectDesc3}) > 0
</if>
AND tcq.upload_type = '3'
</if>

View File

@ -130,13 +130,13 @@
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">检查描述</label>
<label class="layui-form-label">检查地点</label>
<div class="layui-input-inline">
<input type="text" name="checkDesc3" class="layui-input" autocomplete="off" maxlength="30">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">整改说明</label>
<label class="layui-form-label">检查描述</label>
<div class="layui-input-inline">
<input type="text" name="rectDesc3" class="layui-input" autocomplete="off" maxlength="30">
</div>