Browse Source

Merge pull request '返修修改' (#452) from fix_logPackorder into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_GAAS_GFrame_BACKEND/pulls/452
Reviewed-by: yehongyang <hongyang.ye@le-it.com.cn>
pull/454/head
yehongyang 3 years ago
parent
commit
5d01c5a7aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dao/qm/implments/ReclinerReclst.dao.impl.go

+ 1
- 1
dao/qm/implments/ReclinerReclst.dao.impl.go View File

@ -359,7 +359,7 @@ func (impl *ReclinerReclstDAOImplement) UpdateUnPrint(recIds []int) error {
******************************************************************************/ ******************************************************************************/
func (impl *ReclinerReclstDAOImplement) SelectRecOne(orderId string) (*model.ReclinerReclst, error) { func (impl *ReclinerReclstDAOImplement) SelectRecOne(orderId string) (*model.ReclinerReclst, error) {
var data model.ReclinerReclst var data model.ReclinerReclst
ok, err := impl.session.Table(impl.meta.TableName).Where("PlantNr = ? and ReclinerNr = ? and RecType = ?", impl.plantNr, orderId, model.QM_SERI_TYPE).Get(&data)
ok, err := impl.session.Table(impl.meta.TableName).Where("PlantNr = ? and ReclinerNr = ?", impl.plantNr, orderId).Get(&data)
if err != nil { if err != nil {
return nil, grmi.NewDataBaseError(err) return nil, grmi.NewDataBaseError(err)
} }


Loading…
Cancel
Save