Merge remote-tracking branch 'origin/develop_master' into develop_master
This commit is contained in:
+9
@@ -419,6 +419,15 @@ public class SarStandardsInfoController extends BaseController<SarStandardsInfo>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiOperation(value = "标准发布查询")
|
||||||
|
@GetMapping("/getStandInfoByList")
|
||||||
|
//@RequiresPermissions("lawss:sarStandardsInfo:get")
|
||||||
|
public ResponseMessage<List<SarStandardsInfo>> getStandInfoByList(String limit) throws Exception {
|
||||||
|
List<SarStandardsInfo> result = sarStandardsInfoEOService.getStandInfoByList(limit);
|
||||||
|
return Result.success(result);
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "|SarStandardsInfoEO|详情")
|
@ApiOperation(value = "|SarStandardsInfoEO|详情")
|
||||||
@GetMapping("/getStandInfoById")
|
@GetMapping("/getStandInfoById")
|
||||||
//@RequiresPermissions("lawss:sarStandardsInfo:get")
|
//@RequiresPermissions("lawss:sarStandardsInfo:get")
|
||||||
|
|||||||
+2
@@ -29,6 +29,8 @@ public interface SarStandardsInfoDao extends BaseMapper<SarStandardsInfo> {
|
|||||||
|
|
||||||
List<SarStandardsInfo> selectStandardsByStandnumber(SarStandardsInfo sarStandardsInfoEO);
|
List<SarStandardsInfo> selectStandardsByStandnumber(SarStandardsInfo sarStandardsInfoEO);
|
||||||
|
|
||||||
|
List<SarStandardsInfo> queryStandInfoByList(@Param("limit") Integer limit);
|
||||||
|
|
||||||
Integer selectStandColumn(@Param("columnName") String columnName);
|
Integer selectStandColumn(@Param("columnName") String columnName);
|
||||||
|
|
||||||
Integer selectCounterStandardsCount(SarStandardsInfo sarStandardsInfoEO);
|
Integer selectCounterStandardsCount(SarStandardsInfo sarStandardsInfoEO);
|
||||||
|
|||||||
+2
@@ -31,6 +31,8 @@ public interface ISarStandardsInfoService extends IService<SarStandardsInfo> {
|
|||||||
|
|
||||||
List<SarStandardsInfo> selectStandardsByStandnumber(String replaceStandNum, String standType);
|
List<SarStandardsInfo> selectStandardsByStandnumber(String replaceStandNum, String standType);
|
||||||
|
|
||||||
|
List<SarStandardsInfo> getStandInfoByList(String limit);
|
||||||
|
|
||||||
SarStandardsInfo selectStandardsInfoByKey(String id) throws Exception;
|
SarStandardsInfo selectStandardsInfoByKey(String id) throws Exception;
|
||||||
|
|
||||||
public void attrInfoDetails (SarStandardsInfo row) throws Exception;
|
public void attrInfoDetails (SarStandardsInfo row) throws Exception;
|
||||||
|
|||||||
+5
@@ -1829,6 +1829,11 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
return strhours;
|
return strhours;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<SarStandardsInfo> getStandInfoByList(String limit){
|
||||||
|
return dao.queryStandInfoByList(Integer.valueOf(limit));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增过程中验证标准号
|
* 新增过程中验证标准号
|
||||||
*
|
*
|
||||||
|
|||||||
+10
@@ -626,6 +626,16 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="queryStandInfoByList" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List"/>
|
||||||
|
FROM sar_standards_info
|
||||||
|
LEFT JOIN sar_stand_attr_info ssai ON ssai.STAND_ID = SAR_STANDARDS_INFO.ID
|
||||||
|
WHERE DATE_FORMAT(ssai.SSRQ,'%Y-%m-%D') >= DATE_FORMAT(SAR_STANDARDS_INFO.ISSUE_TIME,'%Y-%m-%D')
|
||||||
|
ORDER BY SAR_STANDARDS_INFO.ISSUE_TIME DESC
|
||||||
|
LIMIT #{limit}
|
||||||
|
</select>
|
||||||
|
|
||||||
<!-- 查询表中是否存在某字段-->
|
<!-- 查询表中是否存在某字段-->
|
||||||
<select id="selectStandColumn" resultType="java.lang.Integer" parameterType="java.lang.String">
|
<select id="selectStandColumn" resultType="java.lang.Integer" parameterType="java.lang.String">
|
||||||
SELECT COUNT(*)
|
SELECT COUNT(*)
|
||||||
|
|||||||
Reference in New Issue
Block a user