|
|
|
@ -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;
|
|
|
|
|