feat:预炸
This commit is contained in:
@@ -7,6 +7,7 @@ import com.cool.store.entity.PreFryQualificationApplyDO;
|
||||
import com.cool.store.enums.ErrorCodeEnum;
|
||||
import com.cool.store.exception.ServiceException;
|
||||
import com.cool.store.mapper.PreFryQualificationApplyMapper;
|
||||
import com.google.common.collect.Lists;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@@ -66,7 +67,7 @@ public class PreFryQualificationApplyDAO {
|
||||
public List<PreFryQualificationApplyDO> listByStoreCode(String storeCode) {
|
||||
// 参数校验
|
||||
if (StringUtils.isBlank(storeCode)) {
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED, "门店编码不能为空");
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
return preFryQualificationApplyMapper.listByStoreCode(storeCode);
|
||||
}
|
||||
|
||||
@@ -9,4 +9,9 @@ import org.springframework.stereotype.Repository;
|
||||
*/
|
||||
@Repository
|
||||
public class PreFryRecordsDAO {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -4,4 +4,9 @@ import com.cool.store.entity.PreFryRecordsDO;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
public interface PreFryRecordsMapper extends Mapper<PreFryRecordsDO> {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -3,6 +3,6 @@ jdbc.url = jdbc:mysql://dingpushcoolcollege.mysql.rds.aliyuncs.com:3306/coolcoll
|
||||
jdbc.user= coolstore
|
||||
jdbc.password = CSCErYcXniNYm7bT
|
||||
|
||||
table.name = xfsg_invoicing
|
||||
table.object.class = InvoicingDO
|
||||
table.mapper = InvoicingMapper
|
||||
table.name = xfsg_pre_fry_stage_changes
|
||||
table.object.class = PreFryStageChangesDO
|
||||
table.mapper = PreFryStageChangesMapper
|
||||
Reference in New Issue
Block a user