add: 添加顺序号检查日志
This commit is contained in:
+5
@@ -9,6 +9,8 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -25,6 +27,8 @@ import java.util.Date;
|
||||
@Service
|
||||
public class SarBussStandSnServiceImpl extends ServiceImpl<SarBussStandSnDao, SarBussStandSn> implements ISarBussStandSnService {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(SarBussStandSnServiceImpl.class);
|
||||
|
||||
@Autowired
|
||||
private ISarBussStandSnService iSarBussStandSnService;
|
||||
|
||||
@@ -59,6 +63,7 @@ public class SarBussStandSnServiceImpl extends ServiceImpl<SarBussStandSnDao, Sa
|
||||
updateWrapper.set("USE_STATUS","no");
|
||||
updateWrapper.set("TASK_ID",null);
|
||||
updateWrapper.eq("TASK_ID",taskId);
|
||||
logger.info("任务"+ taskId +",修改顺序号为未使用");
|
||||
return iSarBussStandSnService.update(updateWrapper);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user