opt:任务状态反馈;
This commit is contained in:
@@ -2,6 +2,7 @@ package org.nl.wms.basedata_manage.service.dao.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.nl.wms.basedata_manage.service.dao.Structattr;
|
||||
import org.nl.wms.basedata_manage.service.dao.StructattrVechielDto;
|
||||
|
||||
@@ -17,6 +18,6 @@ public interface StructattrMapper extends BaseMapper<Structattr>{
|
||||
|
||||
List<StructattrVechielDto> collectVehicle(Map query);
|
||||
|
||||
List<Structattr> getctnextcode();
|
||||
List<Structattr> getctnextcode(@Param("sect_code") String sectCode);
|
||||
|
||||
}
|
||||
|
||||
@@ -64,6 +64,9 @@
|
||||
s.*
|
||||
FROM st_ivt_structattr s
|
||||
WHERE s.stor_type = '1'
|
||||
<if test="sect_code != null and sect_code != ''">
|
||||
AND s.sect_code = #{sect_code}
|
||||
</if>
|
||||
AND
|
||||
s.storagevehicle_code IS NULL
|
||||
AND s.is_used = 1
|
||||
|
||||
@@ -508,7 +508,7 @@ public class StructattrServiceImpl extends ServiceImpl<StructattrMapper, Structa
|
||||
List<Structattr> list = this.list(query);
|
||||
//特殊载具规则
|
||||
if ("BCPCTZB".equals(param.getStoragevehicle_type()) || "DJQCT".equals(param.getStoragevehicle_type())) {
|
||||
list = structattrMapper.getctnextcode();
|
||||
list = structattrMapper.getctnextcode(param.getSect_code());
|
||||
//只入234层
|
||||
} else if ("DJQMZB".equals(param.getStoragevehicle_type())) {
|
||||
list.removeIf(r -> r.getLayer_num().equals(1));
|
||||
|
||||
@@ -57,9 +57,13 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
|
||||
LambdaQueryWrapper<SysLog> lam = new LambdaQueryWrapper<>();
|
||||
lam.eq(ObjectUtil.isNotEmpty(log_type), SysLog::getLog_type, log_type)
|
||||
.eq(ObjectUtil.isNotEmpty(username), SysLog::getUsername, username)
|
||||
.like(ObjectUtil.isNotEmpty(blurry), SysLog::getDescription, blurry)
|
||||
.le(ObjectUtil.isNotEmpty(end_time), SysLog::getCreate_time, end_time)
|
||||
.ge(ObjectUtil.isNotEmpty(begin_time), SysLog::getCreate_time, begin_time)
|
||||
.and(wrapper -> {
|
||||
wrapper.like(ObjectUtil.isNotEmpty(blurry), SysLog::getDescription, blurry)
|
||||
.or()
|
||||
.like(ObjectUtil.isNotEmpty(blurry), SysLog::getParams, blurry);
|
||||
})
|
||||
.orderByDesc(SysLog::getCreate_time);
|
||||
IPage<SysLog> page = new Page<>(pageable.getPage()+1, pageable.getSize());
|
||||
logMapper.selectPage(page, lam);
|
||||
|
||||
Reference in New Issue
Block a user