java110
2020-04-18 5c5361fab95dd3938ea4b4fc0babbf2d6c5807ee
java110-code-generator/src/main/resources/back/template_1.json
@@ -1,52 +1,64 @@
{
  "id": "taskDetailId",
  "name": "inspectionTaskDetail",
  "desc": "巡检任务明细",
  "id": "junkRequirementId",
  "name": "junkRequirement",
  "desc": "旧货市场",
  "shareParam": "communityId",
  "shareColumn": "community_id",
  "newBusinessTypeCd": "BUSINESS_TYPE_SAVE_INSPECTION_TASK_DETAIL",
  "updateBusinessTypeCd": "BUSINESS_TYPE_UPDATE_INSPECTION_TASK_DETAIL",
  "deleteBusinessTypeCd": "BUSINESS_TYPE_DELETE_INSPECTION_TASK_DETAIL",
  "newBusinessTypeCdValue": "540200030001",
  "updateBusinessTypeCdValue": "540200040001",
  "deleteBusinessTypeCdValue": "540200040001",
  "businessTableName": "business_inspection_task_detail",
  "tableName": "inspection_task_detail",
  "newBusinessTypeCd": "BUSINESS_TYPE_SAVE_JUNK_REQUIREMENT",
  "updateBusinessTypeCd": "BUSINESS_TYPE_UPDATE_JUNK_REQUIREMENT",
  "deleteBusinessTypeCd": "BUSINESS_TYPE_DELETE_JUNK_REQUIREMENT",
  "newBusinessTypeCdValue": "550200030001",
  "updateBusinessTypeCdValue": "550200040001",
  "deleteBusinessTypeCdValue": "550200050001",
  "businessTableName": "business_junk_requirement",
  "tableName": "junk_requirement",
  "param": {
    "taskDetailId": "task_detail_id",
    "taskId": "task_id",
    "inspectionId": "inspection_id",
    "inspectionName": "inspection_name",
    "state": "state",
    "junkRequirementId": "junk_requirement_id",
    "typeCd": "type_cd",
    "classification": "classification",
    "context": "context",
    "referencePrice": "reference_price",
    "communityId": "community_id",
    "publishUserId": "publish_user_id",
    "publishUserName": "publish_user_name",
    "publishUserLink": "publish_user_link",
    "state": "state",
    "statusCd": "status_cd",
    "operate": "operate",
    "bId": "b_id"
  },
  "required": [
    {
      "code": "taskDetailId",
      "msg": "任务明细ID不能为空"
      "code": "typeCd",
      "msg": "类型不能为空"
    },
    {
      "code": "taskId",
      "msg": "巡检任务不能为空"
      "code": "classification",
      "msg": "分类不能为空"
    },
    {
      "code": "communityId",
      "msg": "小区不能为空"
    },
    {
      "code": "inspectionId",
      "msg": "巡检点不能为空"
      "code": "context",
      "msg": "内容不能为空"
    },
    {
      "code": "inspectionName",
      "msg": "巡检点名称不能为空"
      "code": "referencePrice",
      "msg": "参考价格不能为空"
    },
    {
      "code": "signType",
      "msg": "巡检方式不能为空"
      "code": "publishUserId",
      "msg": "发布人ID不能为空"
    },
    {
      "code": "publishUserName",
      "msg": "发布人名称不能为空"
    },
    {
      "code": "publishUserLink",
      "msg": "发布人联系电话不能为空"
    }
  ]
}