value
2024-04-29 ce7184b9b054e4cd98af2d747545d04ae85c2728
cnas-server/src/main/java/com/yuanchu/mom/service/impl/StandardMethodServiceImpl.java
@@ -5,10 +5,9 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuanchu.mom.common.GetLook;
import com.yuanchu.mom.common.PrintChina;
import com.yuanchu.mom.pojo.StandardMethod;
import com.yuanchu.mom.pojo.StructureItemParameter;
import com.yuanchu.mom.service.StandardMethodService;
import com.yuanchu.mom.mapper.StandardMethodMapper;
import com.yuanchu.mom.pojo.StandardMethod;
import com.yuanchu.mom.service.StandardMethodService;
import com.yuanchu.mom.utils.QueryWrappers;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
@@ -48,17 +47,20 @@
    @Override
    public int addStandardMethod(StandardMethod standardMethod) {
        return standardMethodMapper.insert(standardMethod);
        int insert = standardMethodMapper.insert(standardMethod);
        return insert;
    }
    @Override
    public int delStandardMethod(Integer id) {
        return standardMethodMapper.deleteById(id);
        int i = standardMethodMapper.deleteById(id);
        return i;
    }
    @Override
    public int upStandardMethod(StandardMethod standardMethod) {
        return standardMethodMapper.updateById(standardMethod);
        int i = standardMethodMapper.updateById(standardMethod);
        return i;
    }
}