| | |
| | | * 物料类型{1:单品,2:高频,3:混放} |
| | | */ |
| | | @ApiModelProperty(value= "物料类型") |
| | | @TableField("man_type") |
| | | private Integer manType; |
| | | @TableField("mat_type") |
| | | private Integer matType; |
| | | |
| | | public Mat() {} |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | public String getManType$() { |
| | | if (this.manType == null) { |
| | | public String getMatType$() { |
| | | if (this.matType == null) { |
| | | return ""; |
| | | } |
| | | switch (this.manType) { |
| | | switch (this.matType) { |
| | | case 1: |
| | | return "单品"; |
| | | case 2: |
| | |
| | | <result column="store_min" property="storeMin" /> |
| | | <result column="store_max_date" property="storeMaxDate" /> |
| | | <result column="inout_everyday" property="inoutEveryday" /> |
| | | <result column="man_type" property="manType" /> |
| | | <result column="mat_type" property="matType" /> |
| | | </resultMap> |
| | | |
| | | <select id="listByPage" resultMap="BaseResultMap"> |
| | |
| | | ,{field: 'storeMin$', align: 'center',title: '库存下限'} |
| | | ,{field: 'storeMaxDate$', align: 'center',title: '库龄上限(天)'} |
| | | ,{field: 'inoutEveryday$', align: 'center',title: '高频', width: 60} |
| | | ,{field: 'manType$', align: 'center',title: '物料类型', width: 100} |
| | | ,{field: 'matType$', align: 'center',title: '物料类型', width: 100} |
| | | |
| | | ] |
| | | |