试验管理修改
This commit is contained in:
parent
9170844462
commit
5384e383fc
|
|
@ -1,5 +1,6 @@
|
||||||
package com.bonus.aqgqj.basis.entity.vo;
|
package com.bonus.aqgqj.basis.entity.vo;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.annotation.JSONField;
|
||||||
import com.bonus.aqgqj.utils.UserUtil;
|
import com.bonus.aqgqj.utils.UserUtil;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
@ -210,6 +211,7 @@ public class TestVo {
|
||||||
*/
|
*/
|
||||||
private List<ExperDevVo> experDevVos;
|
private List<ExperDevVo> experDevVos;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询条件限制
|
* 查询条件限制
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ public class ExperimentalServiceImpl implements ExperimentalService {
|
||||||
List<Integer> resultList = mapper.isAllExper(vo.getSampleId());
|
List<Integer> resultList = mapper.isAllExper(vo.getSampleId());
|
||||||
if (Objects.equals(resultList.get(0), resultList.get(1))) {
|
if (Objects.equals(resultList.get(0), resultList.get(1))) {
|
||||||
// 更新收样表中的状态为待提交
|
// 更新收样表中的状态为待提交
|
||||||
mapper.editSampleStatus(vo.getId());
|
mapper.editSampleStatus(vo.getSampleId());
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error(e.toString(), e);
|
log.error(e.toString(), e);
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@
|
||||||
</update>
|
</update>
|
||||||
<!--更新收样表中的状态为待提交-->
|
<!--更新收样表中的状态为待提交-->
|
||||||
<update id="editSampleStatus">
|
<update id="editSampleStatus">
|
||||||
UPDATE tb_sample SET process_status = 1 WHERE id = #{id}
|
UPDATE tb_sample SET process_status = 0 WHERE id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<!--删除试验依据-->
|
<!--删除试验依据-->
|
||||||
<delete id="delConfigBasis">
|
<delete id="delConfigBasis">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue