修改bug
This commit is contained in:
parent
914a257e4e
commit
a40b0fcc6e
|
|
@ -61,7 +61,7 @@ namespace ZR.Service.Business
|
|||
if (list == null || list.Count == 0)
|
||||
return 0;
|
||||
|
||||
return Insertable(list).ExecuteCommand();
|
||||
return Insert(list);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -69,8 +69,9 @@ namespace ZR.Service.Business
|
|||
/// </summary>
|
||||
/// <param name="workrecordId"></param>
|
||||
/// <returns></returns>
|
||||
public int DeleteByWorkrecordId(int workrecordId)
|
||||
public bool DeleteByWorkrecordId(int workrecordId)
|
||||
{
|
||||
|
||||
return Delete(x => x.WorkrecordId == workrecordId);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace ZR.Service.Business.IBusinessService
|
|||
/// </summary>
|
||||
/// <param name="workrecordId"></param>
|
||||
/// <returns></returns>
|
||||
int DeleteByWorkrecordId(int workrecordId);
|
||||
bool DeleteByWorkrecordId(int workrecordId);
|
||||
|
||||
/// <summary>
|
||||
/// 获取工作记录的图片数量
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user