2024年7月24日 新增删除机制
This commit is contained in:
parent
16274aef85
commit
c5a5ad29cc
|
@ -240,10 +240,12 @@ public class BlStuAnswerController extends JeecgController<BlStuAnswer, IBlStuAn
|
|||
log.info("更新后的文档地址: {}", exportWordPath);
|
||||
//根据配置决定是否删除子表数据
|
||||
if(isDelChildren){
|
||||
//
|
||||
log.error("hahaha删除了!");
|
||||
log.error("删除了!");
|
||||
var dqw = new QueryWrapper<BlStuAnswer>();
|
||||
dqw.lambda().eq(BlStuAnswer::getMainId, id);
|
||||
service.remove(dqw);
|
||||
} else {
|
||||
log.error("hahaha灭有删除了!");
|
||||
log.error("不删除了!");
|
||||
}
|
||||
|
||||
return Result.OK("生成成功");
|
||||
|
|
Loading…
Reference in New Issue