天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.9 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.BLL;
using QMAPP.FJC.DAL.FIS;
using QMAPP.FJC.Entity.FIS;
namespace QMAPP.FJC.BLL.FIS
{
/// <summary>
/// 模块编号:M20
/// 作 用:FISM100接口
/// 作 者:王济
/// 编写日期:2015年07月15日
///</summary>
public class FisBLL : BaseBLL
{
/// <summary>
/// 根据fis表中最大时间段如果没有则表示是空表
/// </summary>
public void GetLastOnLineTime()
{
//FisDAL fd = new FisDAL();
//List<FISInfo> list = new List<FISInfo>();
//List<FISInfo> fislist = fd.GetFisMaxDate();
//if (fislist[0].CP5A == new DateTime())
// fislist[0].CP5A = System.Data.SqlTypes.SqlDateTime.MinValue.Value;
//List<FISInfo> inforlist = fd.GetOtherItem(fislist[0].CP5A);
//foreach (FISInfo il in inforlist)
//{
// list.Add(new FISInfo
// {
// PID = Guid.NewGuid().ToString(),
// VWSEQ = il.VWSEQ,
// KIN = il.KIN,
// VIN = il.VIN,
// CP5A = il.CP5A,
// LINENO = il.LINENO,
// PMATERIALNO = il.PMATERIALNO,
// SMATERIALNO = il.SMATERIALNO,
// B1MATERIALNO = il.B1MATERIALNO,
// B2MATERIALNO = il.B2MATERIALNO,
// BSMATERIALNO = il.BSMATERIALNO,
// READFLAG = il.READFLAG,
// CHANGEFLAG = il.CHANGEFLAG,
// ROLLBACKFLAG = il.ROLLBACKFLAG,
// CREATETIME = il.CREATETIME,
// UPDATETIME = DateTime.Now
// });
//}
//fd.Insert(list);
}
}
}