Browse Source

返修修改

fix_logPackorder
娄文智 3 years ago
parent
commit
58b7b17011
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