rake file

This commit is contained in:
Sunandar
2017-01-25 09:55:30 +06:30
parent cfb738e479
commit 352ebfc0dd

View File

@@ -25,7 +25,7 @@ class Api::BatchLineItemsController < ApplicationController
wristband_code=hex_str[0..15] wristband_code=hex_str[0..15]
check_manufacture = BatchLineItem.find_by_manufacture_uid_and_wristband_code(manufacture_uid,wristband_code) check_manufacture = BatchLineItem.find_by_manufacture_uid_and_wristband_code(manufacture_uid,wristband_code)
if check_manufacture.nil? if check_manufacture.nil?
batchLineItem=BatchLineItem.new batchLineItem=BatchLineItem.new
batchLineItem.wristband_code=wristband_code batchLineItem.wristband_code=wristband_code