Commit 0734b057 authored by 季圣华's avatar 季圣华
Browse files

更新Mapper的文件结构

parent 1151add2
...@@ -16,8 +16,4 @@ public class ErpApplication{ ...@@ -16,8 +16,4 @@ public class ErpApplication{
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ErpApplication.class, args); SpringApplication.run(ErpApplication.class, args);
} }
} }
...@@ -97,29 +97,4 @@ public interface AccountHeadMapper { ...@@ -97,29 +97,4 @@ public interface AccountHeadMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(AccountHead record); int updateByPrimaryKey(AccountHead record);
List<AccountHeadVo4ListEx> selectByConditionAccountHead(
@Param("type") String type,
@Param("billNo") String billNo,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccountHead(
@Param("type") String type,
@Param("billNo") String billNo,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
Long getMaxId();
BigDecimal findAllMoney(
@Param("supplierId") Integer supplierId,
@Param("type") String type,
@Param("modeName") String modeName,
@Param("endTime") String endTime);
List<AccountHeadVo4ListEx> getDetailByNumber(
@Param("billNo") String billNo);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.AccountHead;
import com.jsh.erp.datasource.entities.AccountHeadExample;
import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface AccountHeadMapperEx {
List<AccountHeadVo4ListEx> selectByConditionAccountHead(
@Param("type") String type,
@Param("billNo") String billNo,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccountHead(
@Param("type") String type,
@Param("billNo") String billNo,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
Long getMaxId();
BigDecimal findAllMoney(
@Param("supplierId") Integer supplierId,
@Param("type") String type,
@Param("modeName") String modeName,
@Param("endTime") String endTime);
List<AccountHeadVo4ListEx> getDetailByNumber(
@Param("billNo") String billNo);
}
\ No newline at end of file
...@@ -95,20 +95,4 @@ public interface AccountItemMapper { ...@@ -95,20 +95,4 @@ public interface AccountItemMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(AccountItem record); int updateByPrimaryKey(AccountItem record);
List<AccountItem> selectByConditionAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
List<AccountItemVo4List> getDetailList(
@Param("headerId") Long headerId);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.AccountItem;
import com.jsh.erp.datasource.entities.AccountItemExample;
import com.jsh.erp.datasource.vo.AccountItemVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface AccountItemMapperEx {
List<AccountItem> selectByConditionAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
List<AccountItemVo4List> getDetailList(
@Param("headerId") Long headerId);
}
\ No newline at end of file
...@@ -96,24 +96,4 @@ public interface AccountMapper { ...@@ -96,24 +96,4 @@ public interface AccountMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(Account record); int updateByPrimaryKey(Account record);
List<AccountVo4List> selectByConditionAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark);
List<AccountVo4InOutList> findAccountInOutList(
@Param("accountId") Long accountId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findAccountInOutListCount(
@Param("accountId") Long accountId);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Account;
import com.jsh.erp.datasource.entities.AccountExample;
import com.jsh.erp.datasource.vo.AccountVo4InOutList;
import com.jsh.erp.datasource.vo.AccountVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface AccountMapperEx {
List<AccountVo4List> selectByConditionAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark);
List<AccountVo4InOutList> findAccountInOutList(
@Param("accountId") Long accountId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findAccountInOutListCount(
@Param("accountId") Long accountId);
}
\ No newline at end of file
...@@ -94,13 +94,4 @@ public interface AppMapper { ...@@ -94,13 +94,4 @@ public interface AppMapper {
*/ */
int updateByPrimaryKey(App record); int updateByPrimaryKey(App record);
List<App> selectByConditionApp(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByApp(
@Param("name") String name,
@Param("type") String type);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.App;
import com.jsh.erp.datasource.entities.AppExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface AppMapperEx {
List<App> selectByConditionApp(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByApp(
@Param("name") String name,
@Param("type") String type);
}
\ No newline at end of file
...@@ -100,7 +100,4 @@ public interface DepotHeadMapper { ...@@ -100,7 +100,4 @@ public interface DepotHeadMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(DepotHead record); int updateByPrimaryKey(DepotHead record);
} }
\ No newline at end of file
...@@ -95,7 +95,4 @@ public interface DepotItemMapper { ...@@ -95,7 +95,4 @@ public interface DepotItemMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(DepotItem record); int updateByPrimaryKey(DepotItem record);
} }
\ No newline at end of file
...@@ -93,16 +93,4 @@ public interface DepotMapper { ...@@ -93,16 +93,4 @@ public interface DepotMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(Depot record); int updateByPrimaryKey(Depot record);
List<Depot> selectByConditionDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Depot;
import com.jsh.erp.datasource.entities.DepotExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface DepotMapperEx {
List<Depot> selectByConditionDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
}
\ No newline at end of file
...@@ -93,14 +93,4 @@ public interface FunctionsMapper { ...@@ -93,14 +93,4 @@ public interface FunctionsMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(Functions record); int updateByPrimaryKey(Functions record);
List<Functions> selectByConditionFunctions(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByFunctions(
@Param("name") String name,
@Param("type") String type);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Functions;
import com.jsh.erp.datasource.entities.FunctionsExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface FunctionsMapperEx {
List<Functions> selectByConditionFunctions(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByFunctions(
@Param("name") String name,
@Param("type") String type);
}
\ No newline at end of file
...@@ -93,16 +93,4 @@ public interface InOutItemMapper { ...@@ -93,16 +93,4 @@ public interface InOutItemMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(InOutItem record); int updateByPrimaryKey(InOutItem record);
List<InOutItem> selectByConditionInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.InOutItem;
import com.jsh.erp.datasource.entities.InOutItemExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface InOutItemMapperEx {
List<InOutItem> selectByConditionInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark);
}
\ No newline at end of file
...@@ -95,24 +95,4 @@ public interface LogMapper { ...@@ -95,24 +95,4 @@ public interface LogMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(Log record); int updateByPrimaryKey(Log record);
List<LogVo4List> selectByConditionLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails);
} }
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Log;
import com.jsh.erp.datasource.entities.LogExample;
import com.jsh.erp.datasource.vo.LogVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface LogMapperEx {
List<LogVo4List> selectByConditionLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByLog(
@Param("operation") String operation,
@Param("usernameID") Integer usernameID,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("contentdetails") String contentdetails);
}
\ No newline at end of file
...@@ -93,11 +93,4 @@ public interface MaterialPropertyMapper { ...@@ -93,11 +93,4 @@ public interface MaterialPropertyMapper {
* @mbggenerated * @mbggenerated
*/ */
int updateByPrimaryKey(MaterialProperty record); int updateByPrimaryKey(MaterialProperty record);
List<MaterialProperty> selectByConditionMaterialProperty(
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByMaterialProperty(@Param("name") String name);
} }
\ No newline at end of file
Supports Markdown
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