| | |
| | | entity.setTarget(dto.getTarget()); |
| | | entity.setDescription(dto.getDescription()); |
| | | entity.setQuestionCount(dto.getQuestionCount()); |
| | | entity.setTalkCnt(dto.getTalkCnt()); |
| | | entity.setCreatedTime(new Date()); |
| | | this.save(entity); |
| | | return new FebsResponse().success().message("操作成功"); |
| | |
| | | .set(AiProduct::getTarget, dto.getTarget()) |
| | | .set(AiProduct::getDescription, dto.getDescription()) |
| | | .set(AiProduct::getQuestionCount, dto.getQuestionCount()) |
| | | .set(AiProduct::getTalkCnt, dto.getTalkCnt()) |
| | | .set(AiProduct::getUpdatedTime, new Date()) |
| | | .eq(AiProduct::getId, id) |
| | | ); |