1.添加同步时间查询条件

2.修改日志文件路径为相对路径,修复系统无指定盘符导致启动失败问题
purchase
x_z 3 years ago
parent d994846fbf
commit 763f8e3338

@ -83,11 +83,9 @@ public class InvProductsController {
});
filterInvProductRequest.setInvCodes(invCodes);
}
}
List<InvProductResponse> invProductResponses = invProductService.filterJoinInvProduct(filterInvProductRequest);
PageInfo<InvProductResponse> pageInfo;
pageInfo = new PageInfo<>(invProductResponses);
PageInfo<InvProductResponse> pageInfo = new PageInfo<>(invProductResponses);
InvProductPageRespnonse<InvProductResponse> pageSimpleResponse = new InvProductPageRespnonse<>();
pageSimpleResponse.setTotal(pageInfo.getTotal());
pageSimpleResponse.setList(invProductResponses);

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<contextName>logback</contextName>
<property name="log.path" value="D:\\udiwms\\logs\\UDI_WMS_MC\\"/>
<property name="log.path" value="../logs/UDI_WMS_MC"/>
<!-- 输出到控制台/home/glxpdata/udiwms/UDI_WMS_MC/-->
<!-- <property name="log.path" value="../logs/udiwms/"/>-->
<!--D:\\udi\\logs\\UDI_WMS_MC\\-->

@ -7,8 +7,6 @@
resultType="com.glxp.api.admin.entity.basic.BasicExportStatusEntity">
select * from basic_export_status
<where>
<if test="id != null and id != ''">
AND id LIKE concat('%',#{id},'%')
</if>
@ -24,6 +22,9 @@
<if test="scheduleType!=null">
and scheduleType = #{scheduleType}
</if>
<if test="syncTime != null and syncTime != ''">
and #{syncTime} >= startTime and #{syncTime} &lt;= endTime
</if>
</where>
order by updateTime desc
</select>

Loading…
Cancel
Save