|
|
@@ -156,7 +156,7 @@ public class MedicalInsRuleInfoController extends JeecgController<MedicalInsRule
|
|
|
Page<MedicalInsRuleProject> page = new Page<MedicalInsRuleProject>(pageNo, pageSize);
|
|
|
IPage<MedicalInsRuleProject> pageList = projectService.page(page, queryWrapper);
|
|
|
// pageList = (IPage<MedicalInsRuleProject>) this.parseDictText(pageList);
|
|
|
- Object pageList2 = this.parseDictText(pageList);
|
|
|
+ this.parseDictText(pageList);
|
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
if (dictDtos.size() > 0) {
|
|
|
@@ -186,6 +186,9 @@ public class MedicalInsRuleInfoController extends JeecgController<MedicalInsRule
|
|
|
it.setComponent("j-dict-select-tag");
|
|
|
it.setDictCode("state");
|
|
|
break;
|
|
|
+ case "medicalDiagnoseCode":
|
|
|
+ it.setComponent("a-textarea");
|
|
|
+ break;
|
|
|
default:
|
|
|
it.setComponent("a-input");
|
|
|
break;
|
|
|
@@ -210,6 +213,9 @@ public class MedicalInsRuleInfoController extends JeecgController<MedicalInsRule
|
|
|
// @RequiresPermissions("medical:medical_ins_rule_info:add")
|
|
|
@PostMapping(value = "/add")
|
|
|
public Result<String> add(@RequestBody MedicalInsRuleInfo medicalInsRuleInfo) {
|
|
|
+// String description = medicalInsRuleInfo.getDescription();
|
|
|
+ //多行文本
|
|
|
+// String[] permissionUrl = description.split("\n");
|
|
|
List<MedicalInsRuleInfo> list = medicalInsRuleInfoService.lambdaQuery().eq(MedicalInsRuleInfo::getRuleName, medicalInsRuleInfo.getRuleName()).list();
|
|
|
if (list.size() > 0) {
|
|
|
return Result.error("规则名称已存在!");
|