@@ -375,7 +375,7 @@ module.exports = app => {
}
async getSumLoadFinalData(sid) {
- const sql = 'Select cf.tid, cf.sid, cf.lid, cf.cid, cf.cbid, cf.qty, cf.stimes, cf.sorder, c.code As c_code' +
+ const sql = 'Select cf.tid, cf.sid, cf.lid, cf.pid, cf.cid, cf.cbid, cf.qty, cf.stimes, cf.sorder, c.code As c_code' +
' FROM ' + this.tableName + ' cf' +
' Left Join ' + this.ctx.service.change.tableName + ' c ON cf.cid = c.cid' +
' Where cf.sid = ?';