资料中心查询条件
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ public class WorkGroupController extends BaseController<WorkGroup> {
|
|||||||
|
|
||||||
if (isDistinct(workGroup.getWorkGroup(),null)){
|
if (isDistinct(workGroup.getWorkGroup(),null)){
|
||||||
if (iWorkGroupService.add(workGroup)){
|
if (iWorkGroupService.add(workGroup)){
|
||||||
return Result.success("200",null,true);
|
return Result.success("200","新增成功",true);
|
||||||
}else {
|
}else {
|
||||||
return Result.error("201","新增失败",false);
|
return Result.error("201","新增失败",false);
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -28,10 +28,10 @@
|
|||||||
and zd.id=#{flieM.treeId}
|
and zd.id=#{flieM.treeId}
|
||||||
</if>
|
</if>
|
||||||
<if test="flieM.dataType != null and flieM.dataType != ''">
|
<if test="flieM.dataType != null and flieM.dataType != ''">
|
||||||
AND fm.data_type = #{flieM.dataType}
|
AND fm.data_type like concat('%',#{flieM.dataType},'%')
|
||||||
</if>
|
</if>
|
||||||
<if test="flieM.dataTitle != null and flieM.dataTitle != ''">
|
<if test="flieM.dataTitle != null and flieM.dataTitle != ''">
|
||||||
AND fm.data_title = #{flieM.dataTitle}
|
AND fm.data_title like concat('%',#{flieM.dataTitle},'%')
|
||||||
</if>
|
</if>
|
||||||
<if test="flieM.startDataUploadTime != null ">
|
<if test="flieM.startDataUploadTime != null ">
|
||||||
AND fm.data_upload_time >= #{flieM.startDataUploadTime}
|
AND fm.data_upload_time >= #{flieM.startDataUploadTime}
|
||||||
|
|||||||
Reference in New Issue
Block a user