日志-面试修改时间信息

This commit is contained in:
俞扬
2023-06-28 16:48:09 +08:00
parent 42f5e08216
commit c675db67b6
7 changed files with 85 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ package com.cool.store.mapper;
import com.cool.store.entity.HyPartnerTaskInfoLogDO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author zhangchenbiao
* @date 2023-05-29 03:53
@@ -22,4 +24,6 @@ public interface HyPartnerTaskInfoLogMapper {
* dateTime:2023-05-29 03:53
*/
int updateByPrimaryKeySelective(@Param("record") HyPartnerTaskInfoLogDO record);
List<HyPartnerTaskInfoLogDO> selectByPartnerLineIdAndOperateType(@Param("partnerLineId") String partnerLineId, @Param("operateType") String operateType);
}

View File

@@ -133,4 +133,13 @@
</set>
where id = #{record.id}
</update>
<select id="selectByPartnerLineIdAndOperateType" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List"/>,
<include refid="Blob_Column_List"/>
from hy_partner_task_info_log
where partner_line_id = #{partnerLineId}
and operate_type = #{operateType}
order by create_time desc
</select>
</mapper>