自动化立体仓库 - WCS系统
LSH
2023-08-29 cafc5d7abdb72aa8a0a6a50e04aee509d5fe159a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.zy.asrs.service.impl;
 
import com.zy.asrs.mapper.TestMastMapper;
import com.zy.asrs.entity.TestMast;
import com.zy.asrs.service.TestMastService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
 
import java.util.Date;
 
@Service("testMastService")
public class TestMastServiceImpl extends ServiceImpl<TestMastMapper, TestMast> implements TestMastService {
 
    @Override
    public void insertPackQualified(boolean qualified, Date now){
        if (qualified){
            this.baseMapper.insertPackQualified(now);
        }
        this.baseMapper.insertUnPackQualified(now);
 
    };
 
}