Commit e2558c57 by lizefeng

优化jit库存日志显示

parent 533b7462
...@@ -47,7 +47,7 @@ namespace AutoTurnOver.DB ...@@ -47,7 +47,7 @@ namespace AutoTurnOver.DB
try try
{ {
var sql = @"select t1.* from dc_auto_jit_tag_log as t1 left join dc_auto_jit_tag as t2 on t1.tag_id = t2.id where 1 = 1 "; var sql = @"select t1.*,t2.tag_name,t2.quantity_safe_inventory from dc_auto_jit_tag_log as t1 left join dc_auto_jit_tag as t2 on t1.tag_id = t2.id where 1 = 1 ";
DynamicParameters parameters = new DynamicParameters(); DynamicParameters parameters = new DynamicParameters();
if (data!=null) if (data!=null)
{ {
......
...@@ -92,6 +92,7 @@ namespace AutoTurnOver.Models ...@@ -92,6 +92,7 @@ namespace AutoTurnOver.Models
public class dc_auto_jit_tag_log_dto : dc_auto_jit_tag_log { public class dc_auto_jit_tag_log_dto : dc_auto_jit_tag_log {
public string tag_name { get; set; } public string tag_name { get; set; }
public decimal quantity_safe_inventory { get; set; }
} }
public class dc_auto_jit_tag_log_search_dto public class dc_auto_jit_tag_log_search_dto
......
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