示例#1
0
 def get_in_out_reason_id_by_ch_name(self, ch_name):
     ion = InOutReasonDal()
     in_out_reason = ion.get_reason_id_by_ch_name(ch_name)
     return self.actual_return_id_val(in_out_reason)
示例#2
0
 def get_in_out_reason_name_by_num(self, in_out_reason_id):
     ion = InOutReasonDal()
     in_out_reason = ion.get_reason_name_by_id(in_out_reason_id)
     return self.actual_return_ch_name_val(in_out_reason)