|
@@ -82,7 +82,7 @@ public class ClueServiceImpl extends ServiceImpl<ClueMapper, Clue> implements IC
|
|
|
public void verify(VerifyDTO verifyDTO){
|
|
|
Clue clue = getById(verifyDTO.getId());
|
|
|
if(clue.getStatus() != 0){
|
|
|
- throw new BizException(40001, "该条数据已审核");
|
|
|
+ throw new BizException(40006, "该条数据已审核");
|
|
|
}
|
|
|
clue.setStatus(verifyDTO.getStatus());
|
|
|
updateById(clue);
|
|
@@ -104,7 +104,7 @@ public class ClueServiceImpl extends ServiceImpl<ClueMapper, Clue> implements IC
|
|
|
public void delete(Long id){
|
|
|
Clue clue = getById(id);
|
|
|
if(null == clue){
|
|
|
- throw new BizException(40001, "不存在的信息");
|
|
|
+ throw new BizException(40006, "不存在的信息");
|
|
|
}
|
|
|
clue.setValidity((byte) 0);
|
|
|
updateById(clue);
|