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 place;
|
||||
|
||||
|
||||
}
|
||||
|
||||
+3
-3
@@ -613,7 +613,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
||||
tsUserQW.select("UNAME")
|
||||
.in("USID",valArr);
|
||||
List<String> stringList = tsUserService.listObjs(tsUserQW, o ->o.toString());
|
||||
value= String.join(",", stringList);
|
||||
value= String.join(",", stringList.isEmpty() ? valArr : stringList);
|
||||
break;
|
||||
}
|
||||
//通过id绑定责任部门师名称
|
||||
@@ -622,14 +622,14 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
||||
tsPositionQW.select("name")
|
||||
.in("id",valArr);
|
||||
List<String> stringList = iTsPositionService.listObjs(tsPositionQW, o -> o.toString());
|
||||
value = String.join(",", stringList);
|
||||
value= String.join(",", stringList.isEmpty() ? valArr : stringList);
|
||||
break;
|
||||
}
|
||||
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">
|
||||
|
||||
<sql id="BaseSelect">
|
||||
id,title,date,content,type,attend,files
|
||||
id,title,date,content,type,attend,files,place
|
||||
</sql>
|
||||
<sql id="Search">
|
||||
type = #{type}
|
||||
@@ -19,6 +19,7 @@
|
||||
<if test="type != null">type,</if>
|
||||
<if test="attend != null">attend,</if>
|
||||
<if test="files != null">files,</if>
|
||||
<if test="place != null">place,</if>
|
||||
</trim>
|
||||
values
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
@@ -29,6 +30,7 @@
|
||||
<if test="type != null">#{type},</if>
|
||||
<if test="attend != null">#{attend},</if>
|
||||
<if test="files != null">#{files},</if>
|
||||
<if test="place != null">#{place},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user