Commit 316cd204 by huangZW

111

parent 0998f554
package com.gic.haoban.manage.service.dao.mapper;
import java.util.List;
import com.gic.haoban.manage.service.entity.TabHaobanAudit;
import com.github.pagehelper.Page;
public interface TabHaobanAuditMapper {
int deleteByPrimaryKey(String auditId);
......@@ -14,4 +17,6 @@ public interface TabHaobanAuditMapper {
int updateByPrimaryKeySelective(TabHaobanAudit record);
int updateByPrimaryKey(TabHaobanAudit record);
Page<TabHaobanAudit> page(Integer auditType, List<String> storeIds,List<String>staffIds, String enterpriseId,Integer auditStatus );
}
\ No newline at end of file
package com.gic.haoban.manage.service.service.out.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -10,7 +11,7 @@ import com.gic.haoban.base.api.common.BasePageInfo;
import com.gic.haoban.common.utils.PageUtil;
import com.gic.haoban.manage.api.dto.AuditDTO;
import com.gic.haoban.manage.api.service.AuditApiService;
import com.gic.haoban.manage.service.dao.mapper.AuditMapper;
import com.gic.haoban.manage.service.dao.mapper.TabHaobanAuditMapper;
import com.gic.haoban.manage.service.entity.TabHaobanAudit;
import com.github.pagehelper.PageHelper;
......@@ -19,7 +20,7 @@ import com.github.pagehelper.PageHelper;
*/
public class AuditApiServiceImpl implements AuditApiService{
@Autowired
private AuditMapper auditMapper;
private TabHaobanAuditMapper auditMapper;
@Override
public Page<AuditDTO> page(Integer auditType, String search,
String enterpriseId,Integer auditStatus, BasePageInfo pageInfo) {
......@@ -35,7 +36,7 @@ public class AuditApiServiceImpl implements AuditApiService{
TabHaobanAudit tab = new TabHaobanAudit();
tab.setAuditId(auditId);
tab.setAuditStatus(1);
tab.set
tab.setUpdateTime(new Date());
auditMapper.updateByPrimaryKeySelective(tab);
}
@Override
......
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