Commit 361f2e73 by xin.yang

some update

parent b1cff347
...@@ -152,7 +152,7 @@ namespace Siger.Middlelayer.AccRepository ...@@ -152,7 +152,7 @@ namespace Siger.Middlelayer.AccRepository
public DbSet<siger_automation_fixture_tools_assembly> siger_automation_fixture_tools_assembly { get; set; } public DbSet<siger_automation_fixture_tools_assembly> siger_automation_fixture_tools_assembly { get; set; }
public DbSet<siger_automation_fixture_tools> siger_automation_fixture_tools { get; set; } public DbSet<siger_automation_fixture_tools> siger_automation_fixture_tools { get; set; }
public DbSet<siger_automation_fixture_tools_product> siger_automation_fixture_tools_product { get; set; } public DbSet<siger_automation_fixture_tools_product> siger_automation_fixture_tools_product { get; set; }
public DbSet<siger_automation_tray> siger_automation_tray { get; set; } public DbSet<siger_automation_location> siger_automation_location { get; set; }
public DbSet<siger_automation_section_property> siger_automation_section_property { get; set; } public DbSet<siger_automation_section_property> siger_automation_section_property { get; set; }
public DbSet<siger_automation_section_route> siger_automation_section_route { get; set; } public DbSet<siger_automation_section_route> siger_automation_section_route { get; set; }
public DbSet<siger_automation_task_list> siger_automation_task_list { get; set; } public DbSet<siger_automation_task_list> siger_automation_task_list { get; set; }
......
...@@ -5,9 +5,9 @@ using System.Text; ...@@ -5,9 +5,9 @@ using System.Text;
namespace Siger.Middlelayer.AccRepository.Entities namespace Siger.Middlelayer.AccRepository.Entities
{ {
/// <summary> /// <summary>
/// 托盘台账列表 /// 储位信息
/// </summary> /// </summary>
public class siger_automation_tray : AccEntityBase public class siger_automation_location : AccEntityBase
{ {
public string guid { get; set; } public string guid { get; set; }
/// <summary> /// <summary>
......
...@@ -9,10 +9,10 @@ using Siger.Middlelayer.Repository.Paged; ...@@ -9,10 +9,10 @@ using Siger.Middlelayer.Repository.Paged;
namespace Siger.Middlelayer.AccRepository.Repositories namespace Siger.Middlelayer.AccRepository.Repositories
{ {
internal class AutomationTrayRepository : AccRepositoryBase<siger_automation_tray>, IAutomationTrayRepository internal class AutomationLocationRepository : AccRepositoryBase<siger_automation_location>, IAutomationLocationRepository
{ {
private ApiAccDbContext _context; private ApiAccDbContext _context;
public AutomationTrayRepository(ApiAccDbContext context) : base(context) public AutomationLocationRepository(ApiAccDbContext context) : base(context)
{ {
_context = context; _context = context;
} }
......
...@@ -4,7 +4,7 @@ using Siger.Middlelayer.Repository.Paged; ...@@ -4,7 +4,7 @@ using Siger.Middlelayer.Repository.Paged;
namespace Siger.Middlelayer.AccRepository.Repositories.Interface namespace Siger.Middlelayer.AccRepository.Repositories.Interface
{ {
public interface IAutomationTrayRepository : IAccRepositoryBase<siger_automation_tray> public interface IAutomationLocationRepository : IAccRepositoryBase<siger_automation_location>
{ {
} }
......
...@@ -255,10 +255,10 @@ CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools_product` ( ...@@ -255,10 +255,10 @@ CREATE TABLE IF NOT EXISTS `siger_automation_fixture_tools_product` (
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ---------------------------- -- ----------------------------
-- 托盘台账列表 -- 储位工装信息
-- Table structure for siger_automation_tray -- Table structure for siger_automation_location
-- ---------------------------- -- ----------------------------
CREATE TABLE IF NOT EXISTS `siger_automation_tray` ( CREATE TABLE IF NOT EXISTS `siger_automation_location` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`locationid` int(11) NOT NULL DEFAULT 0 COMMENT '储位位置', `locationid` int(11) NOT NULL DEFAULT 0 COMMENT '储位位置',
`fixturetools` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工装GUID', `fixturetools` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工装GUID',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment