|
|
|
@ -23,7 +23,6 @@ import com.hnac.hzims.safeproduct.vo.RehearsalRecordDetailVO;
|
|
|
|
|
import com.hnac.hzims.safeproduct.vo.RehearsalRecordlVO; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
@ -116,10 +115,7 @@ public class RehearsalRecordServiceImpl extends ServiceImpl<RehearsalRecordMappe
|
|
|
|
|
* @return 当月演练数据表 |
|
|
|
|
*/ |
|
|
|
|
public List<RehearsalRecordEntity> getRehearsalByMonth(String month) { |
|
|
|
|
QueryWrapper<RehearsalRecordEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.lambda().like(RehearsalRecordEntity::getCreateTime, month) |
|
|
|
|
.orderByDesc(RehearsalRecordEntity::getCode); |
|
|
|
|
return this.list(queryWrapper); |
|
|
|
|
return baseMapper.selectRehearsalByMonth(month); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|