代码提交 用章
This commit is contained in:
parent
3069c1bc44
commit
238ecbfb78
@ -19,4 +19,6 @@ public interface LxOaSealMapper extends BaseMapperPlus<LxOaSeal, LxOaSealVVo> {
|
||||
|
||||
|
||||
Page<LxOaSealVVo> queryPageOaSealVoList(@Param("page") Page<LxOaSealVo> page, @Param(Constants.WRAPPER) Wrapper<LxOaSeal> queryWrapper);
|
||||
|
||||
LxOaSealVVo queryPageOaSealVoInfo(@Param("id") Long id);
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ public class LxOaSealServiceImpl implements ILxOaSealService {
|
||||
*/
|
||||
@Override
|
||||
public LxOaSealVVo queryById(Long id) {
|
||||
return baseMapper.selectVoById(id);
|
||||
return baseMapper.queryPageOaSealVoInfo(id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -55,4 +55,35 @@
|
||||
on m_seal.id = rel.seal_id
|
||||
${ew.getCustomSqlSegment}
|
||||
</select>
|
||||
<select id="queryPageOaSealVoInfo" resultMap="sealUsageWithSealsResultMap">
|
||||
select oa.id,
|
||||
oa.tenant_id,
|
||||
oa.business_type,
|
||||
oa.seal_date,
|
||||
oa.take_out_flag,
|
||||
oa.seal_money,
|
||||
oa.remark,
|
||||
oa.status,
|
||||
oa.create_dept,
|
||||
oa.create_by,
|
||||
oa.create_time,
|
||||
oa.update_by,
|
||||
oa.update_time,
|
||||
oa.attachment,
|
||||
oa.seal_id,
|
||||
oa.file_name,
|
||||
oa.file_code,
|
||||
oa.take_out_start_date,
|
||||
oa.take_out_end_date,
|
||||
oa.file_count,
|
||||
oa.initiator_type,
|
||||
m_seal.id,
|
||||
m_seal.seal_type,
|
||||
m_seal.seal_name
|
||||
from lx_oa_seal oa
|
||||
left join lx_oa_seal_relation rel on oa.id = rel.oa_seal_id
|
||||
left join lx_material_seal m_seal
|
||||
on m_seal.id = rel.seal_id
|
||||
where oa.id = #{id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
Loading…
x
Reference in New Issue
Block a user