@@ -220,7 +220,7 @@ public class ProjectTemplateService extends TreeService<ProjectTemplateDao, Proj
@Transactional(readOnly = false)
public void delete(ProjectTemplateInfo projectTemplateInfo) {
- dao.deleteByLogic(projectTemplateInfo);
+ dao.delete(projectTemplateInfo);
}
/**
@@ -32,7 +32,8 @@
<include refid="workReviewStandardColumns"/>
FROM project_template_structure_info a
<where>
- <if test="attachName!=null and attachName != ''">
+ a.del_flag = 0
+ <if test="attachName!=null and attachName != ''">
and a.attach_name like concat('%',#{attachName},'%')
</if>
<if test="parentIds!=null and parentIds != ''">
@@ -98,6 +98,12 @@
<form:input path="attachLength" htmlEscape="false" maxlength="10" class="form-control number layui-input"/>
</div>
+ <div class="layui-item layui-col-sm12 with-textarea">
+ <label class="layui-form-label ">备注信息:</label>
+ <div class="layui-input-block">
+ <form:textarea path="remarks" id="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
+ </div>
</form:form>