实验报告
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.jeecg.modules.database.entity.Client;
|
||||
|
||||
/**
|
||||
@@ -9,6 +10,7 @@ import org.jeecg.modules.database.entity.Client;
|
||||
* @Date: 2024-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface ClientMapper extends BaseMapper<Client> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.jeecg.modules.database.entity.Equipment;
|
||||
|
||||
/**
|
||||
@@ -9,6 +10,7 @@ import org.jeecg.modules.database.entity.Equipment;
|
||||
* @Date: 2024-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface EquipmentMapper extends BaseMapper<Equipment> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.jeecg.modules.database.entity.ExperimentDeviationCondition;
|
||||
|
||||
/**
|
||||
@@ -9,6 +10,7 @@ import org.jeecg.modules.database.entity.ExperimentDeviationCondition;
|
||||
* @Date: 2024-12-05
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface ExperimentDeviationConditionMapper extends BaseMapper<ExperimentDeviationCondition> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.jeecg.modules.database.entity.ExperimentDeviationEquipment;
|
||||
|
||||
/**
|
||||
@@ -9,6 +10,7 @@ import org.jeecg.modules.database.entity.ExperimentDeviationEquipment;
|
||||
* @Date: 2024-12-05
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface ExperimentDeviationEquipmentMapper extends BaseMapper<ExperimentDeviationEquipment> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.jeecg.modules.database.entity.ExperimentSampleInfo;
|
||||
|
||||
@@ -12,6 +13,7 @@ import java.util.List;
|
||||
* @Date: 2024-12-04
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface ExperimentSampleInfoMapper extends BaseMapper<ExperimentSampleInfo> {
|
||||
|
||||
@Select("SELECT distinct sample_model FROM experiment_sample_info")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.jeecg.modules.database.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
import org.jeecg.modules.database.entity.TestStandards;
|
||||
|
||||
/**
|
||||
@@ -9,6 +10,7 @@ import org.jeecg.modules.database.entity.TestStandards;
|
||||
* @Date: 2024-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface TestStandardsMapper extends BaseMapper<TestStandards> {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package org.jeecg.modules.database.service.impl;
|
||||
|
||||
import cn.hutool.core.util.ObjUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.jeecg.modules.database.entity.Equipment;
|
||||
@@ -42,6 +43,9 @@ public class ExperimentDeviationEquipmentServiceImpl extends ServiceImpl<Experim
|
||||
}
|
||||
|
||||
private void assembleDetails(ExperimentDeviationEquipment experimentDeviationEquipment) {
|
||||
if (ObjUtil.isNull(experimentDeviationEquipment)) {
|
||||
return;
|
||||
}
|
||||
Equipment one = equipmentService.getByManagementNo(experimentDeviationEquipment.getEquipmentNo());
|
||||
if (Objects.nonNull(one)) {
|
||||
experimentDeviationEquipment.setEquipmentName(one.getName());
|
||||
|
||||
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import org.jeecg.modules.system.entity.SysUser;
|
||||
import org.jeecg.modules.system.model.SysUserSysDepartModel;
|
||||
import org.jeecg.modules.system.vo.SysUserDepVo;
|
||||
@@ -21,6 +20,7 @@ import java.util.List;
|
||||
* @Author scott
|
||||
* @since 2018-12-20
|
||||
*/
|
||||
@CacheNamespace
|
||||
public interface SysUserMapper extends BaseMapper<SysUser> {
|
||||
/**
|
||||
* 通过用户账号查询用户信息
|
||||
|
||||
Reference in New Issue
Block a user