|
|
@@ -117,7 +117,7 @@ public class PurchaseNotifyServiceImpl implements PurchaseNotifyService {
|
|
|
* @param deliveryStr 新的交货周期
|
|
|
*/
|
|
|
private void mergeWaitingStatus(Long noticeId, String deliveryStr) {
|
|
|
- String sql = "update purc$notice,purc$orderitems set is_waiting = PURC_NOTICE_WAIT_TO_SEND(" + deliveryStr + ", coalesce(pr_ltinstock, 0)) " +
|
|
|
+ String sql = "update purc$notice,purc$orderitems set is_waiting = PURC_NOTICE_WAIT_TO_SEND('" + deliveryStr + "', coalesce(pr_ltinstock, 0)) " +
|
|
|
"where pn_pdid = pd_id and pn_id = " + noticeId;
|
|
|
jdbcTemplate.execute(sql);
|
|
|
communalLogDao.save(new CommunalLog("更新发货提醒备料状态", "通过发货提醒更新备料状态", "发货单id: " + noticeId,
|