|
|
|
|
using Kingo.PluginServiceInterface.Helper;
|
|
|
|
|
using Kingo.PluginServiceInterface.Model;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.PluginServiceInterface
|
|
|
|
|
{
|
|
|
|
|
public interface IJKTBTask
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 加载建库任务数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ywlx">业务类型</param>
|
|
|
|
|
/// <param name="userBsm">用户BSM</param>
|
|
|
|
|
/// <param name="lifecycle">图斑状态</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
JKTBTask LoadJKTBTask(string ywname, int userbsm, int lifecycle, int pageSize, int currentPage, string xzqdm, string Xzdm, string CjXzqdm);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取建库任务图斑详细信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="tbbsm"></param>
|
|
|
|
|
/// <param name="ywlx"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
JKTBDataInfo GetJKTBData(string tbbsm, string ywlx);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建建库任务包
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="tbbsmList"></param>
|
|
|
|
|
/// <param name="ywlx"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
string CreateJKTask(List<JKTaskInfo> taskList, string ywlx, string cycle, string dbPath);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存建库成果信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dbPath"></param>
|
|
|
|
|
/// <param name="ywlx"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
ResultInfo<bool> SaveJTTBData(string dbPath, string ywlx,string userid, out int ZT);
|
|
|
|
|
ResultInfo<bool> SaveJTTBData(string dbPath, string ywlx, string userid, string tbbsmInTaskPackage);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 改变任务图斑生命周期
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ywlx"></param>
|
|
|
|
|
/// <param name="tbbsm"></param>
|
|
|
|
|
/// <param name="workerid"></param>
|
|
|
|
|
/// <param name="lifecycle"></param>
|
|
|
|
|
/// <param name="oldlifecycle"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
bool UpdateTBLifecycle(string ywlx, string tbbsm, int workerid, int lifecycle, int oldlifecycle);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取外业任务图斑
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="XZQDM">行政区代码</param>
|
|
|
|
|
/// <param name="YWName">任务类型</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
object GetRWTBSEQ(string XZQDM, string YWName);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取行政区代码列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ywlx"></param>
|
|
|
|
|
/// <param name="workerid"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<XZQDMInfo> GetGetBuiltNumber(string ywlx, int workerid);
|
|
|
|
|
}
|
|
|
|
|
}
|