Commit 7a300c2e authored by shiyu's avatar shiyu

订单mapper加注解

parent bda4d509
......@@ -93,7 +93,11 @@ public class RefreshLogisticsJob {
}
hasNextPage = pageInfo.isHasNextPage();
}
logger.info("================更新物流状态任务执行成功 ==============");
logger.info("================ 更新物流状态任务执行成功 ==============");
//物流签收后7天检测自动确认收货
} catch (Exception e) {
logger.error("更新物流状态任务 error {}", e);
} finally {
......
......@@ -115,6 +115,7 @@ public class DistributionOrderDaoImpl implements DistributionOrderDao {
JdbcHelper.ifPresent(dto.getSellerId(), criteria::andSellerIdEqualTo);
JdbcHelper.ifPresent(dto.getSellerIdList(), criteria::andSellerIdIn);
JdbcHelper.ifPresent(dto.getState(), criteria::andStateEqualTo);
JdbcHelper.ifPresent(dto.getLogisticsState(), criteria::andLogisticsStateEqualTo);
JdbcHelper.ifPresent(dto.getType(), criteria::andTypeEqualTo);
JdbcHelper.ifPresent(dto.getTypeList(), criteria::andTypeIn);
example.setOrderByClause("create_time desc");
......
......@@ -4,8 +4,11 @@ import com.wwdz.ch.db.bean.DistributionOrderNum;
import com.wwdz.ch.db.domain.distribution.DistributionOrder;
import com.wwdz.ch.db.domain.distribution.DistributionOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DistributionOrderMapper {
long countByExample(DistributionOrderExample example);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment