子系统子模块
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;
|
private Long pid;
|
||||||
@NotNull(message = "项目id不能为空")
|
@NotNull(message = "项目id不能为空")
|
||||||
private Long projectId;
|
private Long projectId;
|
||||||
@NotNull(message = "负责人id不能为空")
|
|
||||||
private Long principalId;
|
private Long principalId;
|
||||||
@NotNull(message = "周期不能为空")
|
@NotNull(message = "周期不能为空")
|
||||||
private Integer cycle;
|
private Integer cycle;
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="getByTags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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('%',"
|
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||||
open="json_extract(tags,'$.tags')like concat('%',"
|
open="json_extract(tags,'$.tags')like concat('%',"
|
||||||
close=",'%')">
|
close=",'%')">
|
||||||
|
@ -57,14 +57,15 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getByIsfinish" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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=")">
|
<foreach collection="isFinish" item="Finish" separator="," open="(" close=")">
|
||||||
#{Finish}
|
#{Finish}
|
||||||
</foreach>
|
</foreach>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="workgetByTags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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
|
select id from organize_oa.oa_project where
|
||||||
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||||
open="json_extract(tags,'$.tags')like concat('%',"
|
open="json_extract(tags,'$.tags')like concat('%',"
|
||||||
|
@ -82,14 +83,14 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="tget" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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">
|
<if test="id != null">
|
||||||
and id=#{id}
|
and id=#{id}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="tgetBytags" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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('%',"
|
<foreach collection="tags" item="tag" separator=",'%') or json_extract(tags,'$.tags')like concat('%',"
|
||||||
open="json_extract(tags,'$.tags')like concat('%',"
|
open="json_extract(tags,'$.tags')like concat('%',"
|
||||||
close=",'%')">
|
close=",'%')">
|
||||||
|
@ -98,7 +99,7 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="tgetByIsfinish" resultType="com.jsl.oa.model.doData.ProjectDO">
|
<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=")">
|
<foreach collection="isFinish" item="Finish" separator="," open="(" close=")">
|
||||||
#{Finish}
|
#{Finish}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user