wfy
2021-09-14 cd33651deff9fff7e7d9651b766210771c075190
java110-generator/src/main/resources/newBack/template_1.json
old mode 100644 new mode 100755
@@ -1,28 +1,87 @@
{
  "autoMove": true,
  "id": "userQaId",
  "name": "userQuestionAnswer",
  "desc": "答卷",
  "shareParam": "objId",
  "shareColumn": "obj_id",
  "shareName": "user",
  "tableName": "user_question_answer",
  "param": {
    "userQaId": "user_qa_id",
    "qaId": "qa_id",
    "personId": "person_id",
    "section": "section",
    "remark": "remark",
    "statusCd": "status_cd",
    "objType": "obj_type",
    "objId": "obj_id",
    "score": "score",
    "evaluationScore": "evaluation_score",
    "state": "state"
    "roomSubType": "room_sub_type",
    "roomArea": "room_area",
    "userId": "user_id",
    "roomId": "room_id",
    "layer": "layer",
    "feeCoefficient": "fee_coefficient",
    "builtUpArea": "built_up_area",
    "roomNum": "room_num",
    "unitId": "unit_id",
    "state": "state",
    "communityId": "community_id",
    "apartment": "apartment",
    "roomType": "room_type",
    "roomRent": "room_rent"
  },
  "name": "room",
  "shareColumn": "community_id",
  "id": "roomId",
  "shareName": "community",
  "autoMove": true,
  "required": [
    {
      "code": "qaId",
      "msg": "问卷ID不能为空"
      "msg": "房屋ID不能为空",
      "code": "roomId"
    },
    {
      "msg": "房屋编号不能为空",
      "code": "roomNum"
    },
    {
      "msg": "单元ID不能为空",
      "code": "unitId"
    },
    {
      "msg": "层数不能为空",
      "code": "layer"
    },
    {
      "msg": "户型不能为空",
      "code": "apartment"
    },
    {
      "msg": "建筑面积不能为空",
      "code": "builtUpArea"
    },
    {
      "msg": "算费系数不能为空",
      "code": "feeCoefficient"
    },
    {
      "msg": "用户ID不能为空",
      "code": "userId"
    },
    {
      "msg": "数据状态,详细参考c_status表,S 保存,0, 在用 1失效不能为空",
      "code": "statusCd"
    },
    {
      "msg": "房屋状态,如房屋出售等,请查看state 表不能为空",
      "code": "state"
    },
    {
      "msg": "房屋类型不能为空",
      "code": "roomType"
    },
    {
      "msg": "房屋类型 110 住宅房屋,119 办公室 120 宿舍不能为空",
      "code": "roomSubType"
    },
    {
      "msg": "室内面积不能为空",
      "code": "roomArea"
    },
    {
      "msg": "租金不能为空",
      "code": "roomRent"
    }
  ]
  ],
  "desc": "房屋",
  "shareParam": "communityId",
  "tableName": "building_room"
}