Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/f06998347d5d7824fe5e2d313e82620ee43c05dc You should set ROOT_URL correctly, otherwise the web may not work correctly.

feat:修改查询报错问题

hangao
wangxy 5 months ago
parent 571e18289e
commit f06998347d

@ -135,7 +135,7 @@ public class SysTrainnumController extends BaseController {
Integer count = new LambdaQueryChainWrapper<>(tdTrainService.getBaseMapper())
.ge(TdTrain::getCreateDate, minDayTime)
.le(TdTrain::getCreateDate, maxDayTime)
.eq(TdTrain::getTrainState,'0')
.eq(TdTrain::getTrainState,0)
.count();
if(Objects.isNull(count)){
count = 0;
@ -172,7 +172,7 @@ public class SysTrainnumController extends BaseController {
Integer count = new LambdaQueryChainWrapper<>(tdTrainService.getBaseMapper())
.ge(TdTrain::getCreateDate, minDayTime)
.le(TdTrain::getCreateDate, maxDayTime)
.eq(TdTrain::getTrainState,'2')
.eq(TdTrain::getTrainState,2)
.count();
if(Objects.isNull(count)){
count = 0;

@ -54,10 +54,10 @@
AND real_score = #{realScore}
</if>
<if test="checkStartTime != null and checkStartTime!='' "><!-- 开始时间检索 -->
AND check_start_time &gt;= #{checkStartTime}
AND check_start_time &gt;= CAST(#{checkStartTime} AS TIMESTAMP)
</if>
<if test="checkEndTime != null and checkEndTime!=''"><!-- 结束时间检索 -->
AND check_end_time &lt;= #{checkEndTime}
AND check_end_time &lt;= CAST(#{checkEndTime} AS TIMESTAMP)
</if>
<!-- 数据范围过滤 -->
${params.dataScope}

Loading…
Cancel
Save