天天弄,无码在线不卡,欧美高清熟妇啪啪内射不卡自拍,日韩人妻中文无码一区二区七区

聯(lián)系方式

    固話:021-59786133

    電話:18117117761(微信同號(hào))

    郵箱:yuchengzhineng@qq.com

    網(wǎng)站:http://dzsl.com.cn

精品展示

智慧營(yíng)區(qū)車輛識(shí)別管理系統(tǒng)軟件源碼

2021/3/23 9:07:25??????點(diǎn)擊:

package com.yucheng.project.factory.service.impl;


import com.yucheng.common.constant.UserConstants;

import com.yucheng.common.exception.CustomException;

import com.yucheng.common.utils.IdUtils;

import com.yucheng.common.utils.SecurityUtils;

import com.yucheng.common.utils.StringUtils;

import com.yucheng.framework.aspectj.lang.annotation.DataScope;

import com.yucheng.project.campsys.domain.CampSysPIORec;

import com.yucheng.project.campsys.domain.CampSysPerson;

import com.yucheng.project.campsys.mapper.CampSysPersonMapper;

import com.yucheng.project.campsys.service.ICampSysPersonService;

import com.yucheng.project.factory.domain.FactoryVehicle;

import com.yucheng.project.factory.mapper.FactoryVehicleMapper;

import com.yucheng.project.factory.service.IFactoryVehicleService;

import com.yucheng.project.system.domain.SysUser;

import com.yucheng.project.system.service.ISysConfigService;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Transactional;


import java.util.List;


/**

 * 車牌識(shí)別系統(tǒng) 業(yè)務(wù)層處理

 * 

 * @author yucheng

 */

@Service

public class FactoryVehicleServiceImpl implements IFactoryVehicleService

{

    private static final Logger log = LoggerFactory.getLogger(FactoryVehicleServiceImpl.class);

    @Autowired

    private FactoryVehicleMapper factoryVehicleMapper;

    

@Override

public List<FactoryVehicle> selectVehicleList(FactoryVehicle factoryVehicle) {

return factoryVehicleMapper.selectVehicleList(factoryVehicle);

}


@Override

public FactoryVehicle selectVehicleByUserName(String workerName) {

return factoryVehicleMapper.selectVehicleByUserName(workerName);

}


@Override

public FactoryVehicle selectVehicleById(Long vehicleId) {

return factoryVehicleMapper.selectVehicleById(vehicleId);

}


@Override

public int insertVehicle(FactoryVehicle factoryVehicle) {

return factoryVehicleMapper.insertVehicle(factoryVehicle);

}


@Override

public int updateVehicle(FactoryVehicle factoryVehicle) {

return factoryVehicleMapper.updateVehicle(factoryVehicle);

}


@Override

public int deleteVehicleById(Long vehicleId) {

return factoryVehicleMapper.deleteVehicleById(vehicleId);

}


@Override

public int deleteVehicleByIds(Long[] vehicleIds) {

return factoryVehicleMapper.deleteVehicleByIds(vehicleIds);

}


// @Override

// public String importVehicle(List<FactoryVehicle> vehicleList, Boolean isUpdateSupport, String operName) {

// // TODO Auto-generated method stub

// return null;

// }

/**

     * 導(dǎo)入車輛數(shù)據(jù)

     * 

     * @param vehicleList 內(nèi)部人員數(shù)據(jù)列表

     * @param isUpdateSupport 是否更新支持,如果已存在,則進(jìn)行更新數(shù)據(jù)

     * @param operName 操作內(nèi)部人員

     * @return 結(jié)果

     */

    @Override

public String importVehicle(List<FactoryVehicle> vehicleList, Boolean isUpdateSupport, SysUser user )

    { String operName=user.getUserName();

        if (StringUtils.isNull(vehicleList) || vehicleList.size() == 0)

        {

            throw new CustomException("導(dǎo)入車輛數(shù)據(jù)不能為空!");

        }

        int successNum = 0;

        int failureNum = 0;

        StringBuilder successMsg = new StringBuilder();

        StringBuilder failureMsg = new StringBuilder();

       // String password = configService.selectConfigByKey("sys.user.initPassword");

        System.out.println("車輛表導(dǎo)入");

        for (FactoryVehicle vehicle : vehicleList)

        {  System.out.println("車輛表:"+vehicle.toString());

            try

            {

                // 驗(yàn)證是否存在這個(gè)人員車輛

            vehicle.setOrgId(user.getOrgId());

            //FactoryVehicle u = factoryVehicleMapper.selectVehicleByUserName(vehicle.getWorkerName());

            FactoryVehicle u = factoryVehicleMapper.selectVehicleByPlate(vehicle.getPlate());

                if (StringUtils.isNull(u))

                {

                System.out.println("車輛表:"+vehicle.toString());

                    

                    vehicle.setCreateBy(operName);

                    this.insertVehicle(vehicle);

                    successNum++;

                    successMsg.append("<br/>" + successNum + "、賬號(hào) " + vehicle.getPlate() + " 導(dǎo)入成功");

                }

                else if (isUpdateSupport)

                {

                vehicle.setUpdateBy(operName);

                    this.updateVehicle(vehicle);

                    successNum++;

                    successMsg.append("<br/>" + successNum + "、賬號(hào) " + vehicle.getPlate() + " 更新成功");

                }

                else

                {

                    failureNum++;

                    failureMsg.append("<br/>" + failureNum + "、賬號(hào) " + vehicle.getPlate() + " 已存在");

                }

            }

            catch (Exception e)

            {

                failureNum++;

                String msg = "<br/>" + failureNum + "、賬號(hào) " + vehicle.getPlate() + " 導(dǎo)入失?。?quot;;

                failureMsg.append(msg + e.getMessage());

                log.error(msg, e);

            }

        }

        if (failureNum > 0)

        {

            failureMsg.insert(0, "很抱歉,導(dǎo)入失?。」?" + failureNum + " 條數(shù)據(jù)格式不正確,錯(cuò)誤如下:");

            throw new CustomException(failureMsg.toString());

        }

        else

        {

            successMsg.insert(0, "恭喜您,數(shù)據(jù)已全部導(dǎo)入成功!共 " + successNum + " 條,數(shù)據(jù)如下:");

        }

        return successMsg.toString();

    }


@Override

public FactoryVehicle selectVehicleByPlate(String plate) {

// TODO Auto-generated method stub

return null;

}


@Override

public FactoryVehicle selectVehicleByWorkerNo(String workerNO) {

return factoryVehicleMapper.selectVehicleByWorkerNo(workerNO);

}



   

}


關(guān)鍵詞: 軍車車牌識(shí)別 部隊(duì)門禁系統(tǒng) 智慧軍營(yíng) 數(shù)字軍營(yíng) 營(yíng)區(qū)出入管理系統(tǒng) 部隊(duì)請(qǐng)銷假系統(tǒng) 部隊(duì)派車系統(tǒng) 數(shù)字營(yíng)區(qū) 智慧營(yíng)區(qū) 智慧軍營(yíng)整體解決方案 智慧部隊(duì) 智慧軍隊(duì) 數(shù)字部隊(duì) 智能化營(yíng)區(qū) 部隊(duì)人臉識(shí)別系統(tǒng) 涉密管理系統(tǒng) 營(yíng)房管理系統(tǒng) 維修管理系統(tǒng) 營(yíng)區(qū)訪客系統(tǒng) 離位報(bào)警系統(tǒng) 車輛維修系統(tǒng) 上海車牌識(shí)別系統(tǒng) 部隊(duì)停車場(chǎng)管理系統(tǒng)

電話: 18117117761(24小時(shí))? ? 021-59786133? 郵箱:yuchengzhineng@qq.com ?QQ: 9223677 ? 9603426 ? 529131638

Copyright 2019 dzsl.com.cn 上海譽(yù)澄智能科技有限公司 版權(quán)所有 All Rights Reserved ? 網(wǎng)站移動(dòng)版入口

滬公網(wǎng)安備 31011402002854號(hào) 滬ICP備10219392號(hào)-1

久久久精品少妇三级片| 中文字幕av三区| 亚洲AV无码蜜桃| 日精品一区二区三区| 青青草亚洲观看| 亚洲欧美日韩国产成人精品影院 | 日韩欧美亚洲中文| 国产网址你| 久久九九久精品国产| 国产激情 亚洲一区| 亚洲少妇av一区| 黑人香蕉视频| 在线色网站| www黄色网站麻豆| 亚洲综合色自拍一区| www.久久大香蕉| 久久精品国产丝袜| 久久久久久毛片| 国产日韩无码毛片| 国产精品视频在线观看| 久久黄色免费| 91影音午夜| 欧美999精品| 色熟妇熟妇熟| 黄网站色成年片大免费高清| 国产情侣天天在线| 九九热在线精品| 精品一级毛片A久久久久| 欧美日韩另类三区| 性video饥渴少妇china| 欧美二成77| 一本A级片| 欧美激情综合色综合啪啪| 午夜一级不免| 69无码| 免费av簧片在线观看| 天天操夜夜操免费视频| 好男人社区神马在线观看WWW| 在线观看亚洲的网站| 91香蕉狠狠的看| 亚洲综合日韩无码精品|