jeeplus框架的基本增删改查:
busiPlan模块的分析:
页面:
list:
项目名称:<form:input path = "pjName">,
//path 对应entity的字段名
工程性质:(选择性的用select标签):<form:select path = "enginProp">
<form:option value = "",label=""/>
<form:options items="${fns:getDictList('engin_prop')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
</form:select>
//建设部门树状图形状
<sys:treeselect id="office" name="office.id" value="${busiPlan.office.id}" labelName="office.name" labelValue="${busiPlan.office.name}"
title="部门" url="/sys/office/treeData?grade=2" cssClass="form-control" allowClear="true" notAllowSelectParent="true">
</sys:treeselect>
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-VWuO45JH-1575458117159)(C:\Users\EagleB\AppData\Roaming\Typora\typora-user-images\1575434383693.png)]
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-tMgx6Bkn-1575458117162)(C:\Users\EagleB\AppData\Roaming\Typora\typora-user-images\1575435082678.png)]
controller:
springMVC注解:@RequestParam(required=false)前端传参数,required=false时候,前端不传参数默认为null,参数接收时候要用包装类,不然会报错,为true的时候一定要传参数,不然报错。
entity:
的时候一定要传参数,不然报错。
entity:
mapper: