子系统子模块
Some checks failed
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head There was a failure building this commit
Some checks failed
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5ccc846ab9
commit
3101ed371b
|
@ -11,7 +11,7 @@ public class ProjectWorkVO {
|
|||
private Long pid;
|
||||
@NotNull(message = "项目id不能为空")
|
||||
private Long projectId;
|
||||
@NotNull(message = "负责人id不能为空")
|
||||
|
||||
private Long principalId;
|
||||
@NotNull(message = "周期不能为空")
|
||||
private Integer cycle;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</update>
|
||||
|
||||
<select id="getByTags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where is_delete=false and principal_id=#{userId} and
|
||||
select * from organize_oa.oa_project where is_delete=false and principal_id=#{userId} and status=1 and
|
||||
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||
open="json_extract(tags,'$.tags')like concat('%',"
|
||||
close=",'%')">
|
||||
|
@ -57,14 +57,15 @@
|
|||
</select>
|
||||
|
||||
<select id="getByIsfinish" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where is_delete=false and principal_id =#{userId} and is_finish in
|
||||
select * from organize_oa.oa_project where is_delete=false and principal_id =#{userId} and status=1 and is_finish in
|
||||
<foreach collection="isFinish" item="Finish" separator="," open="(" close=")">
|
||||
#{Finish}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="workgetByTags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where id in(select project_id from organize_oa.oa_project_work where is_delete=false and (principal_id=#{userId} or principal_id is null) and project_id in(
|
||||
select * from organize_oa.oa_project where id in(select project_id from organize_oa.oa_project_work
|
||||
where is_delete=false and (principal_id=#{userId} or principal_id is null) and project_id in(
|
||||
select id from organize_oa.oa_project where
|
||||
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||
open="json_extract(tags,'$.tags')like concat('%',"
|
||||
|
@ -82,14 +83,14 @@
|
|||
</select>
|
||||
|
||||
<select id="tget" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where is_delete=false
|
||||
select * from organize_oa.oa_project where is_delete=false and status=1
|
||||
<if test="id != null">
|
||||
and id=#{id}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="tgetBytags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where is_delete=false and
|
||||
select * from organize_oa.oa_project where is_delete=false and status=1 and
|
||||
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||
open="json_extract(tags,'$.tags')like concat('%',"
|
||||
close=",'%')">
|
||||
|
@ -98,7 +99,7 @@
|
|||
</select>
|
||||
|
||||
<select id="tgetByIsfinish" resultType="com.jsl.oa.model.doData.ProjectDO">
|
||||
select * from organize_oa.oa_project where is_delete=false and is_finish in
|
||||
select * from organize_oa.oa_project where is_delete=false and status=1 and is_finish in
|
||||
<foreach collection="isFinish" item="Finish" separator="," open="(" close=")">
|
||||
#{Finish}
|
||||
</foreach>
|
||||
|
|
Loading…
Reference in New Issue
Block a user