java110
2021-09-14 f1d1ad21cae722ceba4677cc30c133bd8c3b0701
java110-generator/src/main/resources/newBack/template_1.json
old mode 100644 new mode 100755
@@ -1,26 +1,87 @@
{
  "autoMove": true,
  "id": "logId",
  "name": "machineTranslateError",
  "desc": "IOT同步错误日志记录",
  "shareParam": "communityId",
  "shareColumn": "community_id",
  "shareName": "common",
  "tableName": "machine_translate_error",
  "param": {
    "logId": "log_id",
    "machineTranslateId": "machine_translate_id",
    "section": "section",
    "remark": "remark",
    "statusCd": "status_cd",
    "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",
    "reqHeader": "req_header",
    "reqBody": "req_body",
    "resBody": "res_body",
    "statusCd": "status_cd"
    "apartment": "apartment",
    "roomType": "room_type",
    "roomRent": "room_rent"
  },
  "name": "room",
  "shareColumn": "community_id",
  "id": "roomId",
  "shareName": "community",
  "autoMove": true,
  "required": [
    {
      "code": "logId",
      "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"
}