Ver código fonte

项目附件类型添加字段

user5 4 anos atrás
pai
commit
3eb7e5592a

+ 1 - 1
src/main/java/com/jeeplus/modules/projectAccessory/service/ProjectTemplateService.java

@@ -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);
 	}
 
     /**

+ 2 - 1
src/main/resources/mappings/modules/projectAccessory/ProjectTemplateDao.xml

@@ -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 != ''">

+ 6 - 0
src/main/webapp/webpage/modules/projectAccessory/projectTemplate/projectTemplateForm.jsp

@@ -98,6 +98,12 @@
 						<form:input path="attachLength" htmlEscape="false" maxlength="10" class="form-control number layui-input"/>
 					</div>
 				</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>
+				</div>
 			</div>
 		</form:form>
 	</div>