丽知:中台日志查询修改
This commit is contained in:
parent
bab87f833d
commit
1894f9a15f
|
@ -40,5 +40,7 @@ public interface IIntegrationTaskLivingDetailsDao extends IBaseDao<IntegrationTa
|
|||
IntegrationTaskLivingDetailsEntity queryEntity(IntegrationTaskLivingDetailsEntity entity);
|
||||
|
||||
Integer deleteEntity(IntegrationTaskLivingDetailsEntity deleteEntity);
|
||||
|
||||
IntegrationTaskLivingDetailsEntity queryEntityById(IntegrationTaskLivingDetailsEntity entity);
|
||||
}
|
||||
|
||||
|
|
|
@ -52,5 +52,9 @@ public class IntegrationTaskLivingDetailsDaoImpl extends MybatisGenericDao<Integ
|
|||
public IntegrationTaskLivingDetailsEntity queryEntity(IntegrationTaskLivingDetailsEntity entity) {
|
||||
return (IntegrationTaskLivingDetailsEntity) super.selectOne(getSqlIdPrifx() + "queryEntity", entity);
|
||||
}
|
||||
@Override
|
||||
public IntegrationTaskLivingDetailsEntity queryEntityById(IntegrationTaskLivingDetailsEntity entity) {
|
||||
return (IntegrationTaskLivingDetailsEntity) super.selectOne(getSqlIdPrifx() + "queryEntityById", entity);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -573,6 +573,17 @@
|
|||
</otherwise>
|
||||
</choose> where id = #{id} and sts='Y'
|
||||
</select>
|
||||
|
||||
|
||||
<select id="queryEntityById" resultMap="get-IntegrationTaskLivingDetailsEntity-result" parameterType="com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity">
|
||||
select
|
||||
<include refid="IntegrationTaskLivingDetailsEntity_Base_Column_List" />
|
||||
FROM integration_task_living_details WHERE id = #{id} AND sts='Y'
|
||||
UNION ALL
|
||||
select
|
||||
<include refid="IntegrationTaskLivingDetailsEntity_Base_Column_List" />
|
||||
FROM integration_task_living_details_success WHERE id = #{id} AND sts='Y'
|
||||
</select>
|
||||
<sql id="IntegrationTaskLivingDetailsVo_Base_Column_List">
|
||||
id,
|
||||
task_linving_id,
|
||||
|
|
Loading…
Reference in New Issue