Merge branch 'develop_master' into 'FOTON'
Develop master See merge request LiuChao/foton-slrs-system-rest!311
This commit is contained in:
@@ -45,5 +45,7 @@ public class SapMeeting{
|
|||||||
|
|
||||||
private String files;//附件 json
|
private String files;//附件 json
|
||||||
|
|
||||||
|
private String place;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -613,7 +613,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
tsUserQW.select("UNAME")
|
tsUserQW.select("UNAME")
|
||||||
.in("USID",valArr);
|
.in("USID",valArr);
|
||||||
List<String> stringList = tsUserService.listObjs(tsUserQW, o ->o.toString());
|
List<String> stringList = tsUserService.listObjs(tsUserQW, o ->o.toString());
|
||||||
value= String.join(",", stringList);
|
value= String.join(",", stringList.isEmpty() ? valArr : stringList);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//通过id绑定责任部门师名称
|
//通过id绑定责任部门师名称
|
||||||
@@ -622,14 +622,14 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
tsPositionQW.select("name")
|
tsPositionQW.select("name")
|
||||||
.in("id",valArr);
|
.in("id",valArr);
|
||||||
List<String> stringList = iTsPositionService.listObjs(tsPositionQW, o -> o.toString());
|
List<String> stringList = iTsPositionService.listObjs(tsPositionQW, o -> o.toString());
|
||||||
value = String.join(",", stringList);
|
value= String.join(",", stringList.isEmpty() ? valArr : stringList);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:value = dicTypeEODao.getDicNamesByCodes(valArr);
|
default:value = dicTypeEODao.getDicNamesByCodes(valArr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
entry.setValue(value);
|
entry.setValue(value == null ? String.join(",",valArr) : value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<mapper namespace="com.adc.da.slrs.sapMeetInfo.dao.SapMeetingDao">
|
<mapper namespace="com.adc.da.slrs.sapMeetInfo.dao.SapMeetingDao">
|
||||||
|
|
||||||
<sql id="BaseSelect">
|
<sql id="BaseSelect">
|
||||||
id,title,date,content,type,attend,files
|
id,title,date,content,type,attend,files,place
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Search">
|
<sql id="Search">
|
||||||
type = #{type}
|
type = #{type}
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
<if test="type != null">type,</if>
|
<if test="type != null">type,</if>
|
||||||
<if test="attend != null">attend,</if>
|
<if test="attend != null">attend,</if>
|
||||||
<if test="files != null">files,</if>
|
<if test="files != null">files,</if>
|
||||||
|
<if test="place != null">place,</if>
|
||||||
</trim>
|
</trim>
|
||||||
values
|
values
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
@@ -29,6 +30,7 @@
|
|||||||
<if test="type != null">#{type},</if>
|
<if test="type != null">#{type},</if>
|
||||||
<if test="attend != null">#{attend},</if>
|
<if test="attend != null">#{attend},</if>
|
||||||
<if test="files != null">#{files},</if>
|
<if test="files != null">#{files},</if>
|
||||||
|
<if test="place != null">#{place},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user