示例#1
0
 def dft_faam_qrcode_batch(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_faam_qrcode_batch(inputData)
     except Exception:
         result={}
     return result
示例#2
0
 def dft_get_material_stock_history_deatil(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_get_material_stock_history_deatil(inputData)
     except Exception:
         result={}
     return result
示例#3
0
 def dft_material_stock_removal_mod(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_material_stock_removal_mod(inputData)
     except Exception:
         result=False
     return result
示例#4
0
 def dft_product_stock_transfer(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_product_stock_transfer(inputData)
     except Exception:
         result=False
     return result
示例#5
0
 def dft_employee_number_inquery(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_employee_number_inquery(inputData)
     except Exception:
         result=0
     return result
示例#6
0
 def dft_huitp_xmlmsg_equlable_userlist_report(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_huitp_xmlmsg_equlable_userlist_report(inputData)
     except Exception:
         result={'comConfirm':0X02,'userList':"",'currrntNum':0,'totalNum':0}
     return result
示例#7
0
 def dft_get_product_empty_stock(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_get_product_empty_stock()
     except Exception:
         result={}
     return result
示例#8
0
 def dft_faam_old_data_clear(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_faam_old_data_clear(inputData)
     except Exception:
         result={'status':'false'}
     return result
示例#9
0
 def dft_consumables_purchase_del(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_consumables_purchase_del(inputData)
     except Exception:
         result=False
     return result
示例#10
0
 def dft_employee_kpi_audit(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_employee_kpi_audit(inputData)
     except Exception:
         result={'ColumnName':[],'TableData':[],'Result':False}
     return result
示例#11
0
 def dft_product_type_table_query(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_product_type_table_query(inputData)
     except Exception:
         result={}
     return result
示例#12
0
 def dft_production_history_audit(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_production_history_audit(inputData)
     except Exception:
         result={'ColumnName':[],'TableData':[],'Result':False,'Flag':"false"}
     return result
示例#13
0
 def dft_attendance_record_modify(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_attendance_record_modify(inputData)
     except Exception:
         result=False
     return result
示例#14
0
 def dft_attendance_history_query(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_attendance_history_query(inputData)
     except Exception:
         result = {'Result': False, 'ColumnName': [], 'TableData':[]}
     return result
示例#15
0
 def dft_faam_qrcode_sc_process(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_faam_qrcode_sc_process(inputData)
     except Exception:
         result= {'flag': False, 'employee': "", 'message': '数据异常'}
     return result
示例#16
0
 def dft_huitp_xmlmsg_equlable_apply_report(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_huitp_xmlmsg_equlable_apply_report(inputData)
     except Exception:
         result={'start':0,'end':0,'allocateResp':1,'comConfirm':0X02}
     return result
示例#17
0
 def dft_staff_namelist_query(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_staff_namelist_query(inputData)
     except Exception:
         result=0
     return result
示例#18
0
 def dft_faam_factory_table_query(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_faam_factory_table_query(inputData)
             print(result)
     except Exception:
         result=""
     return result
示例#19
0
 def dft_product_type_modify(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             DappDbF11Faam_view.dft_dbi_product_type_modify(inputData)
             result=True
     except Exception:
         result=False
     return result
示例#20
0
 def dft_empty_material_stock_del(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             DappDbF11Faam_view.dft_dbi_empty_material_stock_del(inputData)
             result=True
     except Exception:
         result=False
     return result
示例#21
0
 def dft_factory_table_delete(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             DappDbF11Faam_view.dft_dbi_factory_table_delete(inputData)
             result=True
     except Exception:
         result=False
     return result
示例#22
0
 def dft_cron_production_and_batch_table_sta(self):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             DappDbF11Faam_view.dft_dbi_cron_production_table_sta()
             DappDbF11Faam_view.dft_dbi_cron_batch_scan_table_sta()
             result={'status':'true'}
     except Exception:
         result={'status':'false'}
     return result
示例#23
0
 def dft_consumables_table(self):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_consumables_table()
     except Exception:
         ColumnName=[]
         TableData=[]
         ColumnName.append("序号")
         ColumnName.append("名称")
         ColumnName.append("历史总量")
         ColumnName.append("历史总价")
         ColumnName.append("历史平均价格")
         ColumnName.append("最后一次入库时间")
         result={'ColumnName':ColumnName,'TableData':TableData}
     return result
示例#24
0
 def dft_consumables_history_table(self,inputData):
     try:
         with transaction.atomic():
             DappDbF11Faam_view=DappDbF11Faam.dct_classDbiL3apF11Faam()
             result=DappDbF11Faam_view.dft_dbi_consumables_history_table(inputData)
     except Exception:
         ColumnName=[]
         TableData=[]
         ColumnName.append('序号')
         ColumnName.append('名称')
         ColumnName.append('单价')
         ColumnName.append('数量')
         ColumnName.append('总价')
         ColumnName.append('规格')
         ColumnName.append('供应商')
         ColumnName.append('入库时间')
         result={'ColumnName':ColumnName,'TableData':TableData}
     return result