|
|
@@ -202,7 +202,7 @@ public class PurchaseSampleTask extends AbstractTask {
|
|
|
|
|
|
@TaskMapping(title = "上传作废打样申请单信息传到平台", fixedDelay = 60000)
|
|
|
public void invalidateSaleSampleSend() {
|
|
|
- List<Long> sampleIds = jdbcTemplate.queryIdList("select productsample.ps_id from productsample left join employee" +
|
|
|
+ List<Long> sampleIds = jdbcTemplate.queryIdList("select productsample.ps_id id from productsample left join employee" +
|
|
|
" on productsample.ps_appmanid = em_id where ps_sendstatus = '已上传' and ps_status='已作废' and exists (select 1 from productsampledetail left" +
|
|
|
" join vendor on pd_vendcode=ve_code where pd_psid=ps_id and ve_uu is not null and nvl(ve_b2benable,0)=1) order by ps_code",
|
|
|
IdObject.class);
|