|
|
@@ -159,8 +159,12 @@ public class ProjectMaterialService extends BaseService<ProjectMaterial> {
|
|
|
return materials;
|
|
|
}
|
|
|
|
|
|
- public List<ProjectMaterial> findByContentAndApplyId(Integer applyId){
|
|
|
- return projectMaterialDao.findByContentAndApplyId("annex_template", applyId);
|
|
|
+ public List<ProjectMaterial> findByContentAndApplyId(String content, Integer applyId) {
|
|
|
+ ProjectMaterial p = new ProjectMaterial();
|
|
|
+ p.setDel_flag(false);
|
|
|
+ p.setApply_id(applyId);
|
|
|
+ p.setContent(content);
|
|
|
+ return this.findListByWhere(p);
|
|
|
}
|
|
|
|
|
|
/**
|