src/main/java/com/ruoyi/customervisits/service/impl/CustomerVisitsServiceImpl.java
@@ -37,7 +37,7 @@ wrapper.like(CustomerVisits::getVisitingPeople, customerVisits.getVisitingPeople()); } } wrapper.orderByDesc(CustomerVisits::getId); return customerVisitsMapper.selectPage(page, wrapper); } src/main/java/com/ruoyi/technology/pojo/TechnologyParam.java
@@ -1,8 +1,10 @@ package com.ruoyi.technology.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.time.LocalDateTime; @@ -53,6 +55,8 @@ @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @Schema(description = "修改人") @@ -61,6 +65,8 @@ @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; @Schema(description = "部门ID") src/main/resources/mapper/approve/ApproveProcessMapper.xml
@@ -40,5 +40,6 @@ <if test="req.approveType != null "> and approve_type = #{req.approveType} </if> order by id desc </select> </mapper> src/main/resources/mapper/approve/KnowledgeBaseMapper.xml
@@ -16,6 +16,6 @@ and type = #{knowledgeBase.type} </if> </where> order by id desc </select> </mapper> </mapper> src/main/resources/mapper/basic/CustomerMapper.xml
@@ -52,6 +52,7 @@ ) </if> </where> order by c.id desc </select> <select id="list" resultType="com.ruoyi.basic.vo.CustomerVo"> @@ -106,6 +107,7 @@ ) </if> </where> order by c.id desc </select> <select id="customewTransactions" resultType="com.ruoyi.sales.vo.CustomerTransactionsVo"> select T1.customer_id, @@ -144,6 +146,7 @@ AND c.customer_name LIKE CONCAT('%', #{customerName}, '%') </if> </where> order by T1.customer_id desc </select> <select id="customewTransactionsDetails" resultType="com.ruoyi.sales.vo.CustomerTransactionsDetailsVo"> @@ -189,5 +192,6 @@ group by sl.id )T3 on T3.id = sl.id where sl.customer_id = #{customerId} order by sl.id desc </select> </mapper> src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
@@ -17,5 +17,6 @@ and n.status = #{ew.status} </if> </where> order by n.id desc </select> </mapper> src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml
@@ -27,5 +27,6 @@ and rrm.category = #{ew.category} </if> </where> order by rrm.id desc </select> </mapper> </mapper> src/main/resources/mapper/collaborativeApproval/SealApplicationManagementMapper.xml
@@ -37,5 +37,6 @@ </if> </where> GROUP BY sam.id order by sam.id desc </select> </mapper> src/main/resources/mapper/procurementrecord/ReturnManagementMapper.xml
@@ -39,6 +39,7 @@ and sl.sales_contract_no like concat('%',#{req.salesContractNo},'%') </if> </where> order by rm.id desc </select> <select id="getReturnManagementDtoById" resultType="com.ruoyi.procurementrecord.bean.dto.ReturnManagementDto"> select rm.*, src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -17,5 +17,6 @@ AND t1.status = #{salesQuotationDto.status} </if> </where> order by t1.id desc </select> </mapper> src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -32,6 +32,6 @@ and t.type = #{c.type} </if> </where> order by t.id asc order by t.id desc </select> </mapper> src/main/resources/mapper/technology/TechnologyOperationParamMapper.xml
@@ -28,6 +28,6 @@ and top1.technology_param_id = #{paramId} </if> </where> order by top1.id asc order by top1.id desc </select> </mapper>