mrzcc
2020-02-10 088cad4fda2eaaf76a12625624702639e8a3a4b7
巡检点代码生成器template
1个文件已添加
54 ■■■■■ 已修改文件
java110-code-generator/src/main/resources/web/template_inspectionPoint.json 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-code-generator/src/main/resources/web/template_inspectionPoint.json
New file
@@ -0,0 +1,54 @@
{
  "templateName":"巡检点",
  "templateCode":"inspectionPoint",
  "templateKey":"inspectionId",
  "templateKeyName":"巡检点ID",
  "searchCode": "inspectionName",
  "searchName": "巡检点名称",
  "conditions": [
    {
      "name": "巡检点ID",
      "inputType": "input",
      "code": "inspectionId",
      "whereCondition": "equal"
    },
    {
      "name": "设备ID",
      "inputType": "input",
      "code": "machineId",
      "whereCondition": "equal"
    },
    {
      "name": "巡检点名称",
      "inputType": "input",
      "code": "inspectionName",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code": "inspection_name",
      "cnCode":"巡检点名称",
      "desc":"必填,请填写巡检点名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"100",
      "limitErrInfo":"巡检点名称不能超过100位",
      "show": true
    },
    {
      "code": "remark",
      "cnCode":"备注",
      "desc":"必填,请填写巡检点名称",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"备注信息不能超过200位",
      "show": true
    }
  ]
}