parent
300f456e97
commit
3098c09e81
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,148 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.controller; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.core.toolkit.IdWorker; |
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import digital.laboratory.platform.common.core.util.R; |
|
||||||
import digital.laboratory.platform.common.log.annotation.SysLog; |
|
||||||
import digital.laboratory.platform.common.mybatis.security.service.DLPUser; |
|
||||||
import digital.laboratory.platform.reagent.service.AfterSaleSituationService; |
|
||||||
import org.springframework.security.access.prepost.PreAuthorize; |
|
||||||
import io.swagger.annotations.Api; |
|
||||||
import io.swagger.annotations.ApiOperation; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.security.oauth2.provider.OAuth2Authentication; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import java.security.Principal; |
|
||||||
|
|
||||||
/** |
|
||||||
* 服务商/供应商响应、资质和售后情况 |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe 服务商/供应商响应、资质和售后情况 前端控制器 |
|
||||||
* |
|
||||||
* 这是与表示层的接口, 不应该接业务逻辑写在这里, 业务逻辑应该写在 service 中 |
|
||||||
* 这里写什么: |
|
||||||
* 为前端提供数据, 接受前端的数据 |
|
||||||
* 为前端提供的数据, 从 service 取得后, 可以做一些适当的加工, 这种加工不是业务层面的, 只能是数据格式上, 为方便前端处理 |
|
||||||
* 接受前端的数据, 每一个函数的参数可以先做一些整理后, 再调用 service 中的函数。这里对参数的整理, 应该只是格式上的, 而不能是业务上的 |
|
||||||
* 数据层在 mapper 中, 数据层不涉及业务, 只管技术上的 对象<->表 之间的转换 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequiredArgsConstructor |
|
||||||
@RequestMapping("/after_sale_situation" ) |
|
||||||
@Api(value = "after_sale_situation", tags = "服务商/供应商响应、资质和售后情况管理") |
|
||||||
public class AfterSaleSituationController { |
|
||||||
|
|
||||||
private final AfterSaleSituationService afterSaleSituationService; |
|
||||||
|
|
||||||
/** |
|
||||||
* 通过id查询服务商/供应商响应、资质和售后情况 |
|
||||||
* @param afterSaleSituationId id |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "通过id查询", notes = "通过id查询") |
|
||||||
@GetMapping("/{afterSaleSituationId}" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_after_sale_situation_get')" ) |
|
||||||
public R<AfterSaleSituation> getById(@PathVariable("afterSaleSituationId" ) String afterSaleSituationId, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
AfterSaleSituation afterSaleSituation = afterSaleSituationService.getById(afterSaleSituationId); |
|
||||||
return R.ok(afterSaleSituation); |
|
||||||
//return R.ok(afterSaleSituationService.getById(afterSaleSituationId));
|
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 分页查询 |
|
||||||
* @param page 分页对象 |
|
||||||
* @param afterSaleSituation 服务商/供应商响应、资质和售后情况 |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "分页查询", notes = "分页查询") |
|
||||||
@GetMapping("/page" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_after_sale_situation_get')" ) |
|
||||||
public R<IPage<AfterSaleSituation>> getAfterSaleSituationPage(Page<AfterSaleSituation> page, AfterSaleSituation afterSaleSituation, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
IPage<AfterSaleSituation> afterSaleSituationSList = afterSaleSituationService.page(page, Wrappers.<AfterSaleSituation>query() |
|
||||||
.eq("create_by", dlpUser.getId()) |
|
||||||
.orderByDesc("create_time") |
|
||||||
); |
|
||||||
return R.ok(afterSaleSituationSList); |
|
||||||
// return R.ok(afterSaleSituationService.page(page, Wrappers.query(afterSaleSituation)));
|
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* 新增服务商/供应商响应、资质和售后情况 |
|
||||||
* @param afterSaleSituation 服务商/供应商响应、资质和售后情况 |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "新增服务商/供应商响应、资质和售后情况", notes = "新增服务商/供应商响应、资质和售后情况") |
|
||||||
@SysLog("新增服务商/供应商响应、资质和售后情况" ) |
|
||||||
@PostMapping |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_after_sale_situation_add')" ) |
|
||||||
public R<AfterSaleSituation> postAddObject(@RequestBody AfterSaleSituation afterSaleSituation, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
afterSaleSituation.setAfterSaleSituationId(IdWorker.get32UUID().toUpperCase()); |
|
||||||
if (afterSaleSituationService.save(afterSaleSituation)) { |
|
||||||
return R.ok(afterSaleSituation, "对象创建成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(afterSaleSituation, "对象创建失败"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 修改服务商/供应商响应、资质和售后情况 |
|
||||||
* @param afterSaleSituation 服务商/供应商响应、资质和售后情况 |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "修改服务商/供应商响应、资质和售后情况", notes = "修改服务商/供应商响应、资质和售后情况") |
|
||||||
@SysLog("修改服务商/供应商响应、资质和售后情况" ) |
|
||||||
@PutMapping |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_after_sale_situation_edit')" ) |
|
||||||
public R<AfterSaleSituation> putUpdateById(@RequestBody AfterSaleSituation afterSaleSituation, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
if (afterSaleSituationService.updateById(afterSaleSituation)) { |
|
||||||
return R.ok(afterSaleSituation, "保存对象成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(afterSaleSituation, "保存对象失败"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 通过id删除服务商/供应商响应、资质和售后情况 |
|
||||||
* @param afterSaleSituationId id |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "通过id删除服务商/供应商响应、资质和售后情况", notes = "通过id删除服务商/供应商响应、资质和售后情况") |
|
||||||
@SysLog("通过id删除服务商/供应商响应、资质和售后情况" ) |
|
||||||
@DeleteMapping("/{afterSaleSituationId}" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_after_sale_situation_del')" ) |
|
||||||
public R<AfterSaleSituation> deleteById(@PathVariable String afterSaleSituationId, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
AfterSaleSituation oldAfterSaleSituation = afterSaleSituationService.getById(afterSaleSituationId); |
|
||||||
|
|
||||||
if (afterSaleSituationService.removeById(afterSaleSituationId)) { |
|
||||||
return R.ok(oldAfterSaleSituation, "对象删除成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(oldAfterSaleSituation, "对象删除失败"); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,147 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.controller; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.core.toolkit.IdWorker; |
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import digital.laboratory.platform.common.core.util.R; |
|
||||||
import digital.laboratory.platform.common.log.annotation.SysLog; |
|
||||||
import digital.laboratory.platform.common.mybatis.security.service.DLPUser; |
|
||||||
import org.springframework.security.access.prepost.PreAuthorize; |
|
||||||
import io.swagger.annotations.Api; |
|
||||||
import io.swagger.annotations.ApiOperation; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.security.oauth2.provider.OAuth2Authentication; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import java.security.Principal; |
|
||||||
|
|
||||||
/** |
|
||||||
* (服务商/供应商评价结果) |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe (服务商/供应商评价结果) 前端控制器 |
|
||||||
* |
|
||||||
* 这是与表示层的接口, 不应该接业务逻辑写在这里, 业务逻辑应该写在 service 中 |
|
||||||
* 这里写什么: |
|
||||||
* 为前端提供数据, 接受前端的数据 |
|
||||||
* 为前端提供的数据, 从 service 取得后, 可以做一些适当的加工, 这种加工不是业务层面的, 只能是数据格式上, 为方便前端处理 |
|
||||||
* 接受前端的数据, 每一个函数的参数可以先做一些整理后, 再调用 service 中的函数。这里对参数的整理, 应该只是格式上的, 而不能是业务上的 |
|
||||||
* 数据层在 mapper 中, 数据层不涉及业务, 只管技术上的 对象<->表 之间的转换 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequiredArgsConstructor |
|
||||||
@RequestMapping("/evaluation_result" ) |
|
||||||
@Api(value = "evaluation_result", tags = "(服务商/供应商评价结果)管理") |
|
||||||
public class EvaluationResultController { |
|
||||||
|
|
||||||
private final EvaluationResultService evaluationResultService; |
|
||||||
|
|
||||||
/** |
|
||||||
* 通过id查询(服务商/供应商评价结果) |
|
||||||
* @param evaluationResultId id |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "通过id查询", notes = "通过id查询") |
|
||||||
@GetMapping("/{evaluationResultId}" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_evaluation_result_get')" ) |
|
||||||
public R<EvaluationResult> getById(@PathVariable("evaluationResultId" ) String evaluationResultId, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
EvaluationResult evaluationResult = evaluationResultService.getById(evaluationResultId); |
|
||||||
return R.ok(evaluationResult); |
|
||||||
//return R.ok(evaluationResultService.getById(evaluationResultId));
|
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 分页查询 |
|
||||||
* @param page 分页对象 |
|
||||||
* @param evaluationResult (服务商/供应商评价结果) |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "分页查询", notes = "分页查询") |
|
||||||
@GetMapping("/page" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_evaluation_result_get')" ) |
|
||||||
public R<IPage<EvaluationResult>> getEvaluationResultPage(Page<EvaluationResult> page, EvaluationResult evaluationResult, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
IPage<EvaluationResult> evaluationResultSList = evaluationResultService.page(page, Wrappers.<EvaluationResult>query() |
|
||||||
.eq("create_by", dlpUser.getId()) |
|
||||||
.orderByDesc("create_time") |
|
||||||
); |
|
||||||
return R.ok(evaluationResultSList); |
|
||||||
// return R.ok(evaluationResultService.page(page, Wrappers.query(evaluationResult)));
|
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* 新增(服务商/供应商评价结果) |
|
||||||
* @param evaluationResult (服务商/供应商评价结果) |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "新增(服务商/供应商评价结果)", notes = "新增(服务商/供应商评价结果)") |
|
||||||
@SysLog("新增(服务商/供应商评价结果)" ) |
|
||||||
@PostMapping |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_evaluation_result_add')" ) |
|
||||||
public R<EvaluationResult> postAddObject(@RequestBody EvaluationResult evaluationResult, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
evaluationResult.setEvaluationResultId(IdWorker.get32UUID().toUpperCase()); |
|
||||||
if (evaluationResultService.save(evaluationResult)) { |
|
||||||
return R.ok(evaluationResult, "对象创建成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(evaluationResult, "对象创建失败"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 修改(服务商/供应商评价结果) |
|
||||||
* @param evaluationResult (服务商/供应商评价结果) |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "修改(服务商/供应商评价结果)", notes = "修改(服务商/供应商评价结果)") |
|
||||||
@SysLog("修改(服务商/供应商评价结果)" ) |
|
||||||
@PutMapping |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_evaluation_result_edit')" ) |
|
||||||
public R<EvaluationResult> putUpdateById(@RequestBody EvaluationResult evaluationResult, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
if (evaluationResultService.updateById(evaluationResult)) { |
|
||||||
return R.ok(evaluationResult, "保存对象成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(evaluationResult, "保存对象失败"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* 通过id删除(服务商/供应商评价结果) |
|
||||||
* @param evaluationResultId id |
|
||||||
* @return R |
|
||||||
*/ |
|
||||||
@ApiOperation(value = "通过id删除(服务商/供应商评价结果)", notes = "通过id删除(服务商/供应商评价结果)") |
|
||||||
@SysLog("通过id删除(服务商/供应商评价结果)" ) |
|
||||||
@DeleteMapping("/{evaluationResultId}" ) |
|
||||||
@PreAuthorize("@pms.hasPermission('reagent_evaluation_result_del')" ) |
|
||||||
public R<EvaluationResult> deleteById(@PathVariable String evaluationResultId, HttpServletRequest theHttpServletRequest) { |
|
||||||
Principal principal = theHttpServletRequest.getUserPrincipal(); |
|
||||||
DLPUser dlpUser = (DLPUser) ((OAuth2Authentication) principal).getUserAuthentication().getPrincipal(); |
|
||||||
|
|
||||||
EvaluationResult oldEvaluationResult = evaluationResultService.getById(evaluationResultId); |
|
||||||
|
|
||||||
if (evaluationResultService.removeById(evaluationResultId)) { |
|
||||||
return R.ok(oldEvaluationResult, "对象删除成功"); |
|
||||||
} |
|
||||||
else { |
|
||||||
return R.failed(oldEvaluationResult, "对象删除失败"); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,15 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.mapper; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
||||||
import org.apache.ibatis.annotations.Mapper; |
|
||||||
|
|
||||||
/** |
|
||||||
* 服务商/供应商响应、资质和售后情况 Mapper 接口 |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe 服务商/供应商响应、资质和售后情况 Mapper 类 |
|
||||||
*/ |
|
||||||
@Mapper |
|
||||||
public interface AfterSaleSituationMapper extends BaseMapper<AfterSaleSituation> { |
|
||||||
|
|
||||||
} |
|
@ -1,13 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.service; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService; |
|
||||||
|
|
||||||
/** |
|
||||||
* 服务商/供应商响应、资质和售后情况服务类 |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe 服务商/供应商响应、资质和售后情况 服务类 |
|
||||||
*/ |
|
||||||
public interface AfterSaleSituationService extends IService<AfterSaleSituation> { |
|
||||||
|
|
||||||
} |
|
@ -1,17 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.service.impl; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import digital.laboratory.platform.reagent.mapper.AfterSaleSituationMapper; |
|
||||||
import digital.laboratory.platform.reagent.service.AfterSaleSituationService; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* 服务商/供应商响应、资质和售后情况服务实现类 |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe 服务商/供应商响应、资质和售后情况 服务实现类 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class AfterSaleSituationServiceImpl extends ServiceImpl<AfterSaleSituationMapper, AfterSaleSituation> implements AfterSaleSituationService { |
|
||||||
|
|
||||||
} |
|
@ -1,16 +0,0 @@ |
|||||||
package digital.laboratory.platform.reagent.service.impl; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* (服务商/供应商评价结果)服务实现类 |
|
||||||
* |
|
||||||
* @author Zhang Xiaolong created at 2023-03-10 |
|
||||||
* @describe (服务商/供应商评价结果) 服务实现类 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class EvaluationResultServiceImpl extends ServiceImpl<EvaluationResultMapper, EvaluationResult> implements IService<EvaluationResult> { |
|
||||||
|
|
||||||
} |
|
@ -1,15 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
||||||
|
|
||||||
<mapper namespace="digital.laboratory.platform.reagent.mapper.AfterSaleSituationMapper"> |
|
||||||
|
|
||||||
<resultMap id="afterSaleSituationMap" type="digital.laboratory.platform.reagent.entity.AfterSaleSituation"> |
|
||||||
<id property="afterSaleSituationId" column="after_sale_situation_id"/> |
|
||||||
<result property="evaluationFormId" column="evaluation_form_id"/> |
|
||||||
<result property="supplierBusinessLicense" column="supplier_business_license"/> |
|
||||||
<result property="supplierPassesQualityAssuranceSystem" column="supplier_passes_quality_assurance_system"/> |
|
||||||
<result property="supplierProductCertification" column="supplier_product_certification"/> |
|
||||||
|
|
||||||
</resultMap> |
|
||||||
</mapper> |
|
@ -1,22 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
||||||
|
|
||||||
<mapper namespace="digital.laboratory.platform.reagent.mapper.EvaluationResultMapper"> |
|
||||||
|
|
||||||
<resultMap id="evaluationResultMap" type="digital.laboratory.platform.reagent.entity.EvaluationResult"> |
|
||||||
<id property="evaluationResultId" column="evaluation_result_id"/> |
|
||||||
<result property="checkAndCalibrateEfficiencyOfSupplies" column="check_and_calibrate_efficiency_of_supplies"/> |
|
||||||
<result property="overallSupplierServiceSatisfaction" column="overall_supplier_service_satisfaction"/> |
|
||||||
<result property="evaluationFormId" column="evaluation_form_id"/> |
|
||||||
<result property="supplierAttitude" column="supplier_attitude"/> |
|
||||||
<result property="supplierEquipmentAndFacilities" column="supplier_equipment_and_facilities"/> |
|
||||||
<result property="supplierTechnologyAndManagementCapability" column="supplier_technology_and_management_capability"/> |
|
||||||
<result property="whetherTheSupplierDeliversOnTime" column="whether_the_supplier_delivers_on_time"/> |
|
||||||
<result property="createTime" column="create_time"/> |
|
||||||
<result property="updateTime" column="update_time"/> |
|
||||||
<result property="createBy" column="create_by"/> |
|
||||||
<result property="updateBy" column="update_by"/> |
|
||||||
|
|
||||||
</resultMap> |
|
||||||
</mapper> |
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
||||||
|
|
||||||
<mapper namespace="digital.laboratory.platform.reagent.mapper.AfterSaleSituationMapper"> |
|
||||||
|
|
||||||
<resultMap id="afterSaleSituationMap" type="digital.laboratory.platform.reagent.entity.AfterSaleSituation"> |
|
||||||
<id property="afterSaleSituationId" column="after_sale_situation_id"/> |
|
||||||
<result property="evaluationFormId" column="evaluation_form_id"/> |
|
||||||
<result property="supplierBusinessLicense" column="supplier_business_license"/> |
|
||||||
<result property="supplierPassesQualityAssuranceSystem" column="supplier_passes_quality_assurance_system"/> |
|
||||||
<result property="supplierProductCertification" column="supplier_product_certification"/> |
|
||||||
|
|
||||||
</resultMap> |
|
||||||
</mapper> |
|
@ -1,22 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
||||||
|
|
||||||
<mapper namespace="digital.laboratory.platform.reagent.mapper.EvaluationResultMapper"> |
|
||||||
|
|
||||||
<resultMap id="evaluationResultMap" type="digital.laboratory.platform.reagent.entity.EvaluationResult"> |
|
||||||
<id property="evaluationResultId" column="evaluation_result_id"/> |
|
||||||
<result property="checkAndCalibrateEfficiencyOfSupplies" column="check_and_calibrate_efficiency_of_supplies"/> |
|
||||||
<result property="overallSupplierServiceSatisfaction" column="overall_supplier_service_satisfaction"/> |
|
||||||
<result property="evaluationFormId" column="evaluation_form_id"/> |
|
||||||
<result property="supplierAttitude" column="supplier_attitude"/> |
|
||||||
<result property="supplierEquipmentAndFacilities" column="supplier_equipment_and_facilities"/> |
|
||||||
<result property="supplierTechnologyAndManagementCapability" column="supplier_technology_and_management_capability"/> |
|
||||||
<result property="whetherTheSupplierDeliversOnTime" column="whether_the_supplier_delivers_on_time"/> |
|
||||||
<result property="createTime" column="create_time"/> |
|
||||||
<result property="updateTime" column="update_time"/> |
|
||||||
<result property="createBy" column="create_by"/> |
|
||||||
<result property="updateBy" column="update_by"/> |
|
||||||
|
|
||||||
</resultMap> |
|
||||||
</mapper> |
|
Loading…
Reference in new issue