美文网首页
NO.90 添加产品分类的实现

NO.90 添加产品分类的实现

作者: smallnumber | 来源:发表于2017-10-19 23:05 被阅读0次

1.业务分析

根据用户需求填写分类信息然后添加到数据库

2.业务实现

1)在ProductTypeDao中添加相关方法

int insertObject(ProductType entity);

List<Node> findZtreeNodes();

2)在ProductTypeMapper文件中添加相关映射

3)在ProductTypeService接口及实现类中中定义并实现业务

4)在ProductTypeController中添加添加业务.

5)在type_list.js,type_edit.js中编写添加对应的js代码

type_list.js type_edit.js部分节选

相关文章

网友评论

      本文标题:NO.90 添加产品分类的实现

      本文链接:https://www.haomeiwen.com/subject/zoopuxtx.html