| | |
| | | public class MaterialHistory { |
| | | |
| | | private Integer id; |
| | | /** |
| | | * productId : |
| | | * 从产品上传,为特定的产品id |
| | | * 从物料更新,为-1 |
| | | * 最初始的物料保留,为0 |
| | | * |
| | | */ |
| | | private Integer productId; |
| | | private Integer materialId; |
| | | private String pictureUrl; |
| | |
| | | MaterialHistory mh = new MaterialHistory(); |
| | | |
| | | temp.setId(material.getId()); |
| | | mh.setProductId(-1); |
| | | mh.setMaterialId(material.getId()); |
| | | int userId = ActionUtil.getUser().getId().intValue(); |
| | | mh.setUpUserId(userId); |
| | |
| | | map-underscore-to-camel-case: true |
| | | cache-enabled: false |
| | | #mybatis日志输出 |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | pagehelper: |
| | | helper-dialect: mysql |
| | | reasonable: true |