Commit 78635d82 by zhangxingmin

Merge remote-tracking branch 'origin/dev' into prod

parents f248f78c 6b30100b
......@@ -187,10 +187,10 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
apiProductLaunchDto.setApiProjectDtoList(apiProjectDtoList(productLaunch.getProjectBizIdList()));
apiProductLaunchDto.setProjectBizIdList(StringUtils.isNotBlank(productLaunch.getProjectBizIdList()) ? Arrays.asList(productLaunch.getProjectBizIdList().split(";").clone()) : new ArrayList<>());
if (StringUtils.isNotBlank(productLaunch.getProductBizId())) {
Product product = iProductService.queryOne(productLaunch.getProductBizId());
apiProductLaunchDto.setTitle(!Objects.isNull(product) ? product.getProductName() : "");
}
// if (StringUtils.isNotBlank(productLaunch.getProductBizId())) {
// Product product = iProductService.queryOne(productLaunch.getProductBizId());
// apiProductLaunchDto.setTitle(!Objects.isNull(product) ? product.getProductName() : "");
// }
response.setApiProductLaunchDto(apiProductLaunchDto);
//设置的产品上架信息的参数列表
......@@ -332,6 +332,8 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
return Result.success(productLaunchBizId);
}
/**
* 审核-产品上架信息
* @param request
......
......@@ -45,7 +45,7 @@
AND as1.payment_term = #{request.paymentTerm}
</if>
<if test="request.effectiveDate != null">
AND #{request.effectiveDate} BETWEEN acr.effective_start AND acr.effective_end
AND DATE(#{request.effectiveDate}) BETWEEN DATE(acr.effective_start) AND DATE(acr.effective_end)
</if>
</where>
ORDER BY acr.effective_start DESC
......
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