试验管理修改

This commit is contained in:
cwchen 2024-07-23 16:44:31 +08:00
parent 9170844462
commit 5384e383fc
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package com.bonus.aqgqj.basis.entity.vo;
import com.alibaba.fastjson.annotation.JSONField;
import com.bonus.aqgqj.utils.UserUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
@ -210,6 +211,7 @@ public class TestVo {
*/
private List<ExperDevVo> experDevVos;
/**
* 查询条件限制
*/

View File

@ -169,7 +169,7 @@ public class ExperimentalServiceImpl implements ExperimentalService {
List<Integer> resultList = mapper.isAllExper(vo.getSampleId());
if (Objects.equals(resultList.get(0), resultList.get(1))) {
// 更新收样表中的状态为待提交
mapper.editSampleStatus(vo.getId());
mapper.editSampleStatus(vo.getSampleId());
}
} catch (Exception e) {
log.error(e.toString(), e);

View File

@ -201,7 +201,7 @@
</update>
<!--更新收样表中的状态为待提交-->
<update id="editSampleStatus">
UPDATE tb_sample SET process_status = 1 WHERE id = #{id}
UPDATE tb_sample SET process_status = 0 WHERE id = #{id}
</update>
<!--删除试验依据-->
<delete id="delConfigBasis">