查询原文件
This commit is contained in:
+2
@@ -47,4 +47,6 @@ public interface SarBussStandAttrInfoDao extends BaseMapper<SarBussStandAttrInfo
|
|||||||
void updateFSQR(@Param("id") String id,@Param("time") String time);
|
void updateFSQR(@Param("id") String id,@Param("time") String time);
|
||||||
|
|
||||||
String selectInfoStandId(@Param("standId") String standId);
|
String selectInfoStandId(@Param("standId") String standId);
|
||||||
|
|
||||||
|
SarBussStandAttrInfo selectByIdAtt(String id);
|
||||||
}
|
}
|
||||||
|
|||||||
+2
@@ -28,4 +28,6 @@ public interface ISarBussStandAttrInfoService extends IService<SarBussStandAttrI
|
|||||||
List<SarBussStandAttrInfo> queryByPage(SarBussStandAttrInfoEOPage page);
|
List<SarBussStandAttrInfo> queryByPage(SarBussStandAttrInfoEOPage page);
|
||||||
|
|
||||||
int insertSelective(SarBussStandAttrInfo sarBussStandAttrInfo);
|
int insertSelective(SarBussStandAttrInfo sarBussStandAttrInfo);
|
||||||
|
|
||||||
|
SarBussStandAttrInfo selectByIdAtt(String id);
|
||||||
}
|
}
|
||||||
|
|||||||
+5
@@ -52,4 +52,9 @@ public class SarBussStandAttrInfoServiceImpl extends ServiceImpl<SarBussStandAtt
|
|||||||
public int insertSelective(SarBussStandAttrInfo sarBussStandAttrInfo){
|
public int insertSelective(SarBussStandAttrInfo sarBussStandAttrInfo){
|
||||||
return this.baseMapper.insertSelective(sarBussStandAttrInfo);
|
return this.baseMapper.insertSelective(sarBussStandAttrInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SarBussStandAttrInfo selectByIdAtt(String id) {
|
||||||
|
return this.baseMapper.selectByIdAtt(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
@@ -536,5 +536,11 @@ public class SarBussionessStandController extends BaseController<SarBussionessSt
|
|||||||
public ResponseMessage selectById (String id,String type){
|
public ResponseMessage selectById (String id,String type){
|
||||||
return sarBussionessStandEOService.selectById(id,type);
|
return sarBussionessStandEOService.selectById(id,type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "通过id查询发布稿")
|
||||||
|
@GetMapping("/selectByIdAtt")
|
||||||
|
public ResponseMessage selectByIdAtt (String id){
|
||||||
|
return sarBussionessStandEOService.selectByIdAtt(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
@@ -64,5 +64,7 @@ public interface ISarBussionessStandService extends IService<SarBussionessStand>
|
|||||||
ResponseMessage selectMaxStandnSn();
|
ResponseMessage selectMaxStandnSn();
|
||||||
|
|
||||||
ResponseMessage selectById(String id,String type);
|
ResponseMessage selectById(String id,String type);
|
||||||
|
|
||||||
|
ResponseMessage selectByIdAtt(String id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+6
@@ -4430,6 +4430,12 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ResponseMessage selectByIdAtt(String id) {
|
||||||
|
SarBussStandAttrInfo sarBussStandAttrInfo = sarBussStandAttrInfoService.selectByIdAtt(id);
|
||||||
|
return Result.success(sarBussStandAttrInfo);
|
||||||
|
}
|
||||||
|
|
||||||
public String updateInfo(List<String> asList,String standId,String attfId) {
|
public String updateInfo(List<String> asList,String standId,String attfId) {
|
||||||
//重复的集合
|
//重复的集合
|
||||||
List<AttFileEO> chongfu = new ArrayList<>();
|
List<AttFileEO> chongfu = new ArrayList<>();
|
||||||
|
|||||||
+7
@@ -174,4 +174,11 @@
|
|||||||
WHERE valid_flag=0 and stand_id = #{standId}
|
WHERE valid_flag=0 and stand_id = #{standId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!-- 查询字段及对应数据-->
|
||||||
|
<select id="selectByIdAtt" resultType="com.adc.da.slrs.sarBussStandAttrInfo.entity.SarBussStandAttrInfo" parameterType="java.lang.String">
|
||||||
|
SELECT *
|
||||||
|
FROM SAR_BUSS_STAND_ATTR_INFO
|
||||||
|
WHERE stand_id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user