Merge branch 'develop_migration' into 'develop_master'

Develop migration

See merge request LiuChao/foton-slrs-system-rest!574
This commit is contained in:
super_liu
2022-08-17 17:42:21 +08:00
2 changed files with 6 additions and 5 deletions
@@ -2123,6 +2123,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
map.put("standEnName", verifyObj(sarStandardsInfoEO.getStandEnName())); map.put("standEnName", verifyObj(sarStandardsInfoEO.getStandEnName()));
map.put("standNature", verifyObj(sarStandardsInfoEO.getStandNature())); map.put("standNature", verifyObj(sarStandardsInfoEO.getStandNature()));
map.put("standState", verifyObj(sarStandardsInfoEO.getStandState())); map.put("standState", verifyObj(sarStandardsInfoEO.getStandState()));
map.put("textStatus", verifyObj(sarStandardsInfoEO.getTextStatus()));
// if (sarStandardsInfoEO.getIssueTime() != null) { // if (sarStandardsInfoEO.getIssueTime() != null) {
// SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); // SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
// String issueStr = format.format(sarStandardsInfoEO.getIssueTime()); // String issueStr = format.format(sarStandardsInfoEO.getIssueTime());
@@ -407,13 +407,13 @@
<select id="querySarItemAndInterpretation" resultMap="sarItemVOResultMap" <select id="querySarItemAndInterpretation" resultMap="sarItemVOResultMap"
parameterType="com.adc.da.slrs.sarStandItems.entity.FindSarItemsPageReqDTO"> parameterType="com.adc.da.slrs.sarStandItems.entity.FindSarItemsPageReqDTO">
SELECT SELECT
sar_stand_items.* sar_stand_items.*,split_pid(sar_stand_items.ITEMS_NUM,'.') as tt
FROM FROM
sar_stand_items sar_stand_items
<include refid="sarItemWhere"/> <include refid="sarItemWhere"/>
<if test="orderBy !=null and orderBy!=''"> <if test="orderBy !=null and orderBy!=''">
order by sar_stand_items.ITEMS_NUM ${order} order by tt ${order}
</if> </if>
LIMIT ${pager.startIndex-1},${pageSize} LIMIT ${pager.startIndex-1},${pageSize}
</select> </select>