|
|
@@ -235,7 +235,7 @@ public class PurchaseProdInOutTask extends AbstractTask {
|
|
|
* @return
|
|
|
*/
|
|
|
List<ProdInOutRefreshPrice> getPriceBatchUpdate(String type) {
|
|
|
- String sql = "select pbu_pdNo,pbu_inoutNo,pbu_orderPrice,pbu_id,pbu_taxRate,pd_prodCode,pd_orderDetNo from PriceBatchUpdate " +
|
|
|
+ String sql = "select pbu_detno pbu_pdNo,pbu_inoutNo,pbu_orderPrice,pbu_id,pbu_taxRate,pd_prodCode,pd_orderDetNo from PriceBatchUpdate " +
|
|
|
"left join prodIoDetail on pbu_pdId = pd_id " +
|
|
|
"where pbu_piClass = '" + type + "' and pbu_status = '99' and pbu_sendStatus = '待上传' and rowNum < 200";
|
|
|
return jdbcTemplate.queryForBeanList(sql, ProdInOutRefreshPrice.class);
|